Interface IPatternTokenizer
A tokenizer of type pattern that can flexibly separate text into terms via a regular expression.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IPatternTokenizer : ITokenizer
Properties
| Edit this page View SourceFlags
The regular expression flags.
Declaration
[DataMember(Name = "flags")]
string Flags { get; set; }
Property Value
Type | Description |
---|---|
string |
Group
Which group to extract into tokens. Defaults to -1 (split).
Declaration
[DataMember(Name = "group")]
int? Group { get; set; }
Property Value
Type | Description |
---|---|
int? |
Pattern
The regular expression pattern, defaults to \W+.
Declaration
[DataMember(Name = "pattern")]
string Pattern { get; set; }
Property Value
Type | Description |
---|---|
string |