Class IntervalsPrefix
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.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsPrefix : IntervalsNoFilterBase, IIntervalsPrefix, IIntervalsNoFilter
Properties
| Edit this page View SourceAnalyzer
Analyzer used to normalize the prefix. Defaults to the top-level field's analyzer.
Declaration
public string Analyzer { get; set; }
Property Value
Type | Description |
---|---|
string |
Prefix
Beginning characters of terms you wish to find in the top-level field
Declaration
public 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
public Field UseField { get; set; }
Property Value
Type | Description |
---|---|
Field |