[ https://issues.apache.org/jira/browse/LUCENE-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567242#comment-14567242 ]
Alan Woodward commented on LUCENE-6513: --------------------------------------- The problem with using TopTerms is that it requires that terms have the same comparison value across segments (which makes it more efficient, because it can only build TermContexts for candidate terms), but that doesn't hold for termFreq. > 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 > > > 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.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org