lucene-dev mailing list archives

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

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

Han Jiang commented on LUCENE-5178:
-----------------------------------

During test I somehow hit a failure:

{noformat}
   [junit4] FAILURE 0.27s | TestRangeAccumulator.testMissingValues <<<
   [junit4]    > Throwable #1: org.junit.ComparisonFailure: expected:<...(0)
   [junit4]    >   less than 10 ([8)
   [junit4]    >   less than or equal to 10 (]8)
   [junit4]    >   over 90 (8)
   [junit4]    >   9...> but was:<...(0)
   [junit4]    >   less than 10 ([28)
   [junit4]    >   less than or equal to 10 (2]8)
   [junit4]    >   over 90 (8)
   [junit4]    >   9...>
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([815B6AA86D05329C:EBC638EE498F066D]:0)
   [junit4]    > 	at org.apache.lucene.facet.range.TestRangeAccumulator.testMissingValues(TestRangeAccumulator.java:670)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:722)
{noformat}

Seed:
{noformat}
ant test  -Dtestcase=TestRangeAccumulator -Dtests.method=testMissingValues -Dtests.seed=815B6AA86D05329C
-Dtests.slow=true -Dtests.postingsformat=Lucene41 -Dtests.locale=ca -Dtests.timezone=Australia/Currie
-Dtests.file.encoding=UTF-8
{noformat}
                
> 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