Interface ITermsSetQuery
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 interface ITermsSetQuery : IFieldNameQuery, IQuery
Properties
| Edit this page View SourceMinimumShouldMatchField
A field containing the number of required terms that must match
Declaration
[DataMember(Name = "minimum_should_match_field")]
Field MinimumShouldMatchField { get; set; }
Property Value
Type | Description |
---|---|
Field |
MinimumShouldMatchScript
A script to control how many terms are required to match
Declaration
[DataMember(Name = "minimum_should_match_script")]
IScript MinimumShouldMatchScript { get; set; }
Property Value
Type | Description |
---|---|
IScript |
Terms
The required terms to match
Declaration
[DataMember(Name = "terms")]
IEnumerable<object> Terms { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<object> |