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

Uwe Schindler commented on LUCENE-6513:
---------------------------------------

Hi David,

I have to dig into the code to understand why it actually sorts. It might be a 
relic from earlier times, but there was for sure some reason about it. To 
figure that out, I will go through the history of this files. If sorting is not 
needed, we can remove the test, too.

Uwe

> Allow limits on SpanMultiTermQueryWrapper expansion
> ---------------------------------------------------
>
>                 Key: LUCENE-6513
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6513
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: LUCENE-6513.patch, LUCENE-6513.patch, LUCENE-6513.patch, 
> LUCENE-6513.patch, LUCENE-6513.patch
>
>
> SpanMultiTermQueryWrapper currently rewrites to a SpanOrQuery with as many 
> clauses as there are matching terms.  It would be nice to be able to limit 
> this in a slightly nicer way than using TopTerms, which for most queries just 
> translates to a lexicographical ordering.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to