Interface IIntervalsPrefix
Matches terms that start with a specified set of characters. This prefix can expand to match at most 128 terms. If the prefix matches more than 128 terms, OpenSearch returns an error. You can use the index-prefixes option in the field mapping to avoid this limit.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IIntervalsPrefix : IIntervalsNoFilter
Properties
| Edit this page View SourceAnalyzer
Analyzer used to normalize the prefix. Defaults to the top-level field's analyzer.
Declaration
[DataMember(Name = "analyzer")]
string Analyzer { get; set; }
Property Value
Type | Description |
---|---|
string |
Prefix
Beginning characters of terms you wish to find in the top-level field
Declaration
[DataMember(Name = "prefix")]
string Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
UseField
If specified, then match intervals from this field rather than the top-level field. The prefix is normalized using the search analyzer from this field, unless a separate analyzer is specified.
Declaration
[DataMember(Name = "use_field")]
Field UseField { get; set; }
Property Value
Type | Description |
---|---|
Field |