WordDelimiterTokenFilter Class

Definition

Splits words into subwords and performs optional transformations on subword groups. This token filter is implemented using Apache Lucene.

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.WordDelimiterTokenFilter")]
public class WordDelimiterTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
type WordDelimiterTokenFilter = class
    inherit TokenFilter
Public Class WordDelimiterTokenFilter
Inherits TokenFilter
Inheritance
WordDelimiterTokenFilter
Attributes

Constructors

WordDelimiterTokenFilter()

Initializes a new instance of the WordDelimiterTokenFilter class.

WordDelimiterTokenFilter(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>)

Initializes a new instance of the WordDelimiterTokenFilter class.

Properties

CatenateAll

Gets or sets a value indicating whether all subword parts will be catenated. For example, if this is set to true, "Azure-Search-1" becomes "AzureSearch1". Default is false.

CatenateNumbers

Gets or sets a value indicating whether maximum runs of number parts will be catenated. For example, if this is set to true, "1-2" becomes "12". Default is false.

CatenateWords

Gets or sets a value indicating whether maximum runs of word parts will be catenated. For example, if this is set to true, "Azure-Search" becomes "AzureSearch". Default is false.

GenerateNumberParts

Gets or sets a value indicating whether to generate number subwords. Default is true.

GenerateWordParts

Gets or sets a value indicating whether to generate part words. If set, causes parts of words to be generated; for example "AzureSearch" becomes "Azure" "Search". Default is true.

Name

Gets or sets 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)
PreserveOriginal

Gets or sets a value indicating whether original words will be preserved and added to the subword list. Default is false.

ProtectedWords

Gets or sets a list of tokens to protect from being delimited.

SplitOnCaseChange

Gets or sets a value indicating whether to split words on caseChange. For example, if this is set to true, "AzureSearch" becomes "Azure" "Search". Default is true.

SplitOnNumerics

Gets or sets a value indicating whether to split on numbers. For example, if this is set to true, "Azure1Search" becomes "Azure" "1" "Search". Default is true.

StemEnglishPossessive

Gets or sets a value indicating whether to remove trailing "'s" for each subword. Default is true.

Methods

Validate()

Validate the object.

Applies to