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

Uwe Schindler commented on LUCENE-1872:
---------------------------------------

This is correct (first part), you can add a field more than once and it really 
works (there is a test about that). The results are the same like with a normal 
range query (so the trie terms do not interfere between each other).

About the second one: Sorting is not different from other numeric multi-value 
fields (in contrast to StringIndex where only one value/doc is allowed). The 
univerter assigns a value to each document. As it overrides values previously 
assigned to the document when iterating over all terms in the field, the last 
term would be the one saved in the FieldCache. So you would sort against the 
largest value per doc (because the smaller values are overridden by the larger 
ones in the field cache).

> Improve javadocs for Numeric*
> -----------------------------
>
>                 Key: LUCENE-1872
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1872
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>
> I'm working on improving Numeric* javadocs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to