WordDelimiterTokenFilter Constructors
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.
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.
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.
A value indicating whether to generate number subwords. Default is true.
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.
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.
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.
A value indicating whether to split words on caseChange. For example, if this is set to true, "AzureSearch" becomes "Azure" "Search". Default is true.
A value indicating whether original words will be preserved and added to the subword list. Default is false.
A value indicating whether to split on numbers. For example, if this is set to true, "Azure1Search" becomes "Azure" "1" "Search". Default is true.
A value indicating whether to remove trailing "'s" for each subword. Default is true.
Applies to
Azure SDK for .NET