Class IntervalsWildcard
Matches terms using a wildcard pattern. This pattern can expand to match at most 128 terms. If the pattern matches more than 128 terms, OpenSearch returns an error.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class IntervalsWildcard : IntervalsNoFilterBase, IIntervalsWildcard, 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 |
Pattern
Wildcard pattern used to find matching terms. Supports two wildcard operators:
?, which matches any single character *, which can match zero or more characters, including an empty one Warning: Avoid beginning patterns with * or ?. This can increase the iterations needed to find matching terms and slow search performance.Declaration
public string Pattern { 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 |