Class KeepTypesTokenFilter
A token filter of type keep that only keeps tokens with text contained in a predefined set of words.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class KeepTypesTokenFilter : TokenFilterBase, IKeepTypesTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceKeepTypesTokenFilter()
Declaration
public KeepTypesTokenFilter()
Properties
| Edit this page View SourceMode
Whether to include or exclude the types provided on Types
Declaration
public KeepTypesMode? Mode { get; set; }
Property Value
Type | Description |
---|---|
KeepTypesMode? |
Types
A list of types to keep.
Declaration
public IEnumerable<string> Types { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |