SearchModelFactory.DictionaryDecompounderTokenFilter Method

Definition

Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene.

public static Azure.Search.Documents.Indexes.Models.DictionaryDecompounderTokenFilter DictionaryDecompounderTokenFilter(string name = default, System.Collections.Generic.IEnumerable<string> wordList = default, int? minWordSize = default, int? minSubwordSize = default, int? maxSubwordSize = default, bool? onlyLongestMatch = default);
static member DictionaryDecompounderTokenFilter : string * seq<string> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Azure.Search.Documents.Indexes.Models.DictionaryDecompounderTokenFilter
Public Shared Function DictionaryDecompounderTokenFilter (Optional name As String = Nothing, Optional wordList As IEnumerable(Of String) = Nothing, Optional minWordSize As Nullable(Of Integer) = Nothing, Optional minSubwordSize As Nullable(Of Integer) = Nothing, Optional maxSubwordSize As Nullable(Of Integer) = Nothing, Optional onlyLongestMatch As Nullable(Of Boolean) = Nothing) As DictionaryDecompounderTokenFilter

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.

wordList
IEnumerable<String>

The list of words to match against.

minWordSize
Nullable<Int32>

The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300.

minSubwordSize
Nullable<Int32>

The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300.

maxSubwordSize
Nullable<Int32>

The maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300.

onlyLongestMatch
Nullable<Boolean>

A value indicating whether to add only the longest matching subword to the output. Default is false.

Returns

A new DictionaryDecompounderTokenFilter instance for mocking.

Applies to