WordDelimiterTokenFilter Constructors

Definition

Overloads

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.

WordDelimiterTokenFilter()

Source:
WordDelimiterTokenFilter.cs

Initializes a new instance of the WordDelimiterTokenFilter class.

public WordDelimiterTokenFilter ();
Public Sub New ()

Applies to

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

Source:
WordDelimiterTokenFilter.cs

Initializes a new instance of the WordDelimiterTokenFilter class.

public WordDelimiterTokenFilter (string name, bool? generateWordParts = default, bool? generateNumberParts = default, bool? catenateWords = default, bool? catenateNumbers = default, bool? catenateAll = default, bool? splitOnCaseChange = default, bool? preserveOriginal = default, bool? splitOnNumerics = default, bool? stemEnglishPossessive = default, System.Collections.Generic.IList<string> protectedWords = default);
new Microsoft.Azure.Search.Models.WordDelimiterTokenFilter : string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Search.Models.WordDelimiterTokenFilter
Public Sub New (name As String, Optional generateWordParts As Nullable(Of Boolean) = Nothing, Optional generateNumberParts As Nullable(Of Boolean) = Nothing, Optional catenateWords As Nullable(Of Boolean) = Nothing, Optional catenateNumbers As Nullable(Of Boolean) = Nothing, Optional catenateAll As Nullable(Of Boolean) = Nothing, Optional splitOnCaseChange As Nullable(Of Boolean) = Nothing, Optional preserveOriginal As Nullable(Of Boolean) = Nothing, Optional splitOnNumerics As Nullable(Of Boolean) = Nothing, Optional stemEnglishPossessive As Nullable(Of Boolean) = Nothing, Optional protectedWords As IList(Of String) = Nothing)

Parameters

name
String

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.

generateWordParts
Nullable<Boolean>

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.

generateNumberParts
Nullable<Boolean>

A value indicating whether to generate number subwords. Default is true.

catenateWords
Nullable<Boolean>

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.

catenateNumbers
Nullable<Boolean>

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.

catenateAll
Nullable<Boolean>

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.

splitOnCaseChange
Nullable<Boolean>

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

preserveOriginal
Nullable<Boolean>

A value indicating whether original words will be preserved and added to the subword list. Default is false.

splitOnNumerics
Nullable<Boolean>

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
Nullable<Boolean>

A value indicating whether to remove trailing "'s" for each subword. Default is true.

protectedWords
IList<String>

A list of tokens to protect from being delimited.

Applies to