Class TermsSetQuery
Returns any documents that match with at least one or more of the provided terms. The terms are not analyzed and thus must match exactly. The number of terms that must match varies per document and is either controlled by a minimum should match field or computed per document in a minimum should match script.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class TermsSetQuery : FieldNameQueryBase, ITermsSetQuery, IFieldNameQuery, IQuery
Properties
| Edit this page View SourceConditionless
Declaration
protected override bool Conditionless { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceMinimumShouldMatchField
A field containing the number of required terms that must match
Declaration
public Field MinimumShouldMatchField { get; set; }
Property Value
Type | Description |
---|---|
Field |
MinimumShouldMatchScript
A script to control how many terms are required to match
Declaration
public IScript MinimumShouldMatchScript { get; set; }
Property Value
Type | Description |
---|---|
IScript |
Terms
The required terms to match
Declaration
public IEnumerable<object> Terms { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<object> |