Interface IPatternCaptureTokenFilter
The pattern_capture token filter, unlike the pattern tokenizer, emits a token for every capture group in the regular expression.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IPatternCaptureTokenFilter : ITokenFilter
Properties
| Edit this page View SourcePatterns
The regular expression patterns to capture
Declaration
[DataMember(Name = "patterns")]
IEnumerable<string> Patterns { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
PreserveOriginal
If preserve_original is set to true then it would also emit the original token
Declaration
[DataMember(Name = "preserve_original")]
bool? PreserveOriginal { get; set; }
Property Value
Type | Description |
---|---|
bool? |