You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Timothy M. Rodriguez (JIRA)" <ji...@apache.org> on 2017/10/02 21:53:00 UTC

[jira] [Commented] (LUCENE-6513) Allow limits on SpanMultiTermQueryWrapper expansion

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

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

Apologies for the late alternative implementation.  For what it's worth, we've been utilizing this patch for about a year and it's helped improve responsiveness to queries while limiting the expansions.

> 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, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org