[ https://issues.apache.org/jira/browse/LUCENE-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15456390#comment-15456390 ]
ASF GitHub Bot commented on LUCENE-7434: ---------------------------------------- GitHub user tballison opened a pull request: https://github.com/apache/lucene-solr/pull/75 LUCENE-7434, first draft LUCENE-7434, first draft You can merge this pull request into a Git repository by running: $ git pull https://github.com/tballison/lucene-solr master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/75.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #75 ---- commit c37f1e0d66f1f28a5c83033d9496cc33c55f265e Author: tballison <talli...@mitre.org> Date: 2016-09-01T19:33:55Z LUCENE-7434, first draft ---- > Add minNumberShouldMatch parameter to SpanNearQuery > --------------------------------------------------- > > Key: LUCENE-7434 > URL: https://issues.apache.org/jira/browse/LUCENE-7434 > Project: Lucene - Core > Issue Type: Improvement > Components: core/search > Reporter: Tim Allison > Priority: Minor > > On the user list, Saar Carmi asked about a new type of SpanQuery that would > allow for something like BooleanQuery's minimumNumberShouldMatch > bq. Given a set of search terms (t1, t2, t3, ti), return all documents where > in a sequence of x=10 tokens at least c=3 of the search terms appear within > the sequence. > I _think_ we can modify SpanNearQuery fairly easily to accommodate this. > I'll submit a PR in the next few days. -- 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