lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5178) doc values should expose missing values (or allow configurable defaults)
Date Tue, 03 Sep 2013 11:10:54 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756523#comment-13756523
] 

Michael McCandless commented on LUCENE-5178:
--------------------------------------------

It sounds like we need to check the actual DVFormat for that field (_TestUtil.getDocValuesFormat("field"))
and then test whether that format supports missing values.

I think this failure can only happen if you explicitly set -Dtests.postingsformat, because
then we make an anon subclass of Lucene45 (TestRuleSetupAndRestoreClassEnv.java at line 194)
... so it sounds like in general we should not be using defaultCodecSupportsDocsWithField()
but rather something like defaultDVFormatSupportsDocsWithField(String field) ...
                
> doc values should expose missing values (or allow configurable defaults)
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-5178
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5178
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5178.patch, LUCENE-5178_reintegrate.patch
>
>
> DocValues should somehow allow a configurable default per-field.
> Possible implementations include setting it on the field in the document or registration
of an IndexWriter callback.
> If we don't make the default configurable, then another option is to have DocValues fields
keep track of whether a value was indexed for that document or not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message