Class CjkBigramTokenFilter
java.lang.Object
com.azure.search.documents.indexes.models.TokenFilter
com.azure.search.documents.indexes.models.CjkBigramTokenFilter
Forms bigrams of CJK terms that are generated from the standard tokenizer.
This token filter is implemented using Apache Lucene.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the outputUnigrams property: A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false).Get the ignoreScripts property: The scripts to ignore.setIgnoreScripts
(CjkBigramTokenFilterScripts... ignoreScripts) Set the ignoreScripts property: The scripts to ignore.setIgnoreScripts
(List<CjkBigramTokenFilterScripts> ignoreScripts) Set the ignoreScripts property: The scripts to ignore.setOutputUnigrams
(Boolean outputUnigrams) Set the outputUnigrams property: A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false).Methods inherited from class com.azure.search.documents.indexes.models.TokenFilter
getName
-
Constructor Details
-
CjkBigramTokenFilter
Constructor ofCjkBigramTokenFilter
.- Parameters:
name
- 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.
-
-
Method Details
-
getIgnoreScripts
Get the ignoreScripts property: The scripts to ignore.- Returns:
- the ignoreScripts value.
-
setIgnoreScripts
Set the ignoreScripts property: The scripts to ignore.- Parameters:
ignoreScripts
- the ignoreScripts value to set.- Returns:
- the CjkBigramTokenFilter object itself.
-
setIgnoreScripts
Set the ignoreScripts property: The scripts to ignore.- Parameters:
ignoreScripts
- the ignoreScripts value to set.- Returns:
- the CjkBigramTokenFilter object itself.
-
areOutputUnigrams
Get the outputUnigrams property: A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false.- Returns:
- the outputUnigrams value.
-
setOutputUnigrams
Set the outputUnigrams property: A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false.- Parameters:
outputUnigrams
- the outputUnigrams value to set.- Returns:
- the CjkBigramTokenFilter object itself.
-