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
type KeepTokenFilter = class
inherit TokenFilter
Public Class KeepTokenFilter
Inherits TokenFilter
- Inheritance
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) |