You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Michael Gibney (Jira)" <ji...@apache.org> on 2022/02/11 18:29:00 UTC
[jira] [Created] (SOLR-16004) Add support for minShouldMatch and tolerateOtherTerms in {!terms} TermsQParserPlugin
Michael Gibney created SOLR-16004:
-------------------------------------
Summary: Add support for minShouldMatch and tolerateOtherTerms in {!terms} TermsQParserPlugin
Key: SOLR-16004
URL: https://issues.apache.org/jira/browse/SOLR-16004
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: query parsers
Affects Versions: main (10.0)
Reporter: Michael Gibney
In Solr, the TermsQParser considers a match if _any_ term in a doc/field matches. It can be useful in some contexts (e.g., access control, etc.) to require that a certain threshold of terms match, or to require exclusive presence of enumerated terms (i.e., place a limit on the number of terms that exist in a document that have _not_ been explicitly enumerated in the query).
As a point of comparison, Elasticsearch implements the former feature as the [minimum_should_match_field param|https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-set-query.html#terms-set-field-params] on its "Terms set query" (the latter feature -- exclusive presence -- is afaict not implemented).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org