KeepTokenFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A token filter that only keeps tokens with text contained in a specified list of words. This token filter is implemented using Apache Lucene.
public class KeepTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
public class KeepTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.KeepTokenFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.KeepTokenFilter>
type KeepTokenFilter = class
inherit TokenFilter
type KeepTokenFilter = class
inherit TokenFilter
interface IJsonModel<KeepTokenFilter>
interface IPersistableModel<KeepTokenFilter>
Public Class KeepTokenFilter
Inherits TokenFilter
Public Class KeepTokenFilter
Inherits TokenFilter
Implements IJsonModel(Of KeepTokenFilter), IPersistableModel(Of KeepTokenFilter)
- Inheritance
- Implements
Constructors
KeepTokenFilter(String, IEnumerable<String>) |
Initializes a new instance of KeepTokenFilter. |
Properties
KeepWords |
The list of words to keep. |
LowerCaseKeepWords |
A value indicating whether to lower case all words first. Default is false. |
Name |
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. (Inherited from TokenFilter) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |