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

Timothy M. Rodriguez commented on LUCENE-6513:
----------------------------------------------

[~romseygeek] we've written a patch to solve this problem as well we've been 
meaning to share with the community.  It goes about the solution in a bit of a 
different way.  We'll try to get it up here in a day or two, though I'm not 
sure which approach will be preferable.

> 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
>            Priority: Minor
>         Attachments: 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
(v6.4.14#64029)

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

Reply via email to