public final class MicrosoftLanguageStemmingTokenizer extends LexicalTokenizer
Constructor and Description |
---|
MicrosoftLanguageStemmingTokenizer(String name)
Constructor of
MicrosoftLanguageStemmingTokenizer . |
Modifier and Type | Method and Description |
---|---|
MicrosoftStemmingTokenizerLanguage |
getLanguage()
Get the language property: The language to use.
|
Integer |
getMaxTokenLength()
Get the maxTokenLength property: The maximum token length.
|
Boolean |
isSearchTokenizer()
Get the isSearchTokenizer property: A value indicating how the tokenizer
is used.
|
MicrosoftLanguageStemmingTokenizer |
setIsSearchTokenizerUsed(Boolean isSearchTokenizerUsed)
Set the isSearchTokenizer property: A value indicating how the tokenizer
is used.
|
MicrosoftLanguageStemmingTokenizer |
setLanguage(MicrosoftStemmingTokenizerLanguage language)
Set the language property: The language to use.
|
MicrosoftLanguageStemmingTokenizer |
setMaxTokenLength(Integer maxTokenLength)
Set the maxTokenLength property: The maximum token length.
|
getName
public MicrosoftLanguageStemmingTokenizer(String name)
MicrosoftLanguageStemmingTokenizer
.name
- The name of the tokenizer. It must only contain letters, digits, spaces,
dashes or underscores, can only start and end with alphanumeric
characters, and is limited to 128 characters.public Integer getMaxTokenLength()
public MicrosoftLanguageStemmingTokenizer setMaxTokenLength(Integer maxTokenLength)
maxTokenLength
- the maxTokenLength value to set.public Boolean isSearchTokenizer()
public MicrosoftLanguageStemmingTokenizer setIsSearchTokenizerUsed(Boolean isSearchTokenizerUsed)
isSearchTokenizerUsed
- the isSearchTokenizer value to set.public MicrosoftStemmingTokenizerLanguage getLanguage()
public MicrosoftLanguageStemmingTokenizer setLanguage(MicrosoftStemmingTokenizerLanguage language)
language
- the language value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.