SearchModelFactory.CjkBigramTokenFilter Method
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.
Forms bigrams of CJK terms that are generated from the standard tokenizer. This token filter is implemented using Apache Lucene.
public static Azure.Search.Documents.Indexes.Models.CjkBigramTokenFilter CjkBigramTokenFilter(string name = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.CjkBigramTokenFilterScripts> ignoreScripts = default, bool? outputUnigrams = default);
static member CjkBigramTokenFilter : string * seq<Azure.Search.Documents.Indexes.Models.CjkBigramTokenFilterScripts> * Nullable<bool> -> Azure.Search.Documents.Indexes.Models.CjkBigramTokenFilter
Public Shared Function CjkBigramTokenFilter (Optional name As String = Nothing, Optional ignoreScripts As IEnumerable(Of CjkBigramTokenFilterScripts) = Nothing, Optional outputUnigrams As Nullable(Of Boolean) = Nothing) As CjkBigramTokenFilter
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.
- ignoreScripts
- IEnumerable<CjkBigramTokenFilterScripts>
The scripts to ignore.
A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false.
Returns
A new CjkBigramTokenFilter instance for mocking.