Class WordDelimiterTokenFilterBase.AbstractBuilder<BuilderT extends WordDelimiterTokenFilterBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.analysis.WordDelimiterTokenFilterBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
WordDelimiterGraphTokenFilter.Builder,WordDelimiterTokenFilter.Builder
- Enclosing class:
- WordDelimiterTokenFilterBase
public abstract static class WordDelimiterTokenFilterBase.AbstractBuilder<BuilderT extends WordDelimiterTokenFilterBase.AbstractBuilder<BuilderT>>
extends TokenFilterBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTcatenateAll(Boolean value) Iftrue, the filter produces catenated tokens for chains of alphanumeric characters separated by non-alphabetic delimiters.final BuilderTcatenateNumbers(Boolean value) Iftrue, the filter produces catenated tokens for chains of numeric characters separated by non-alphabetic delimiters.final BuilderTcatenateWords(Boolean value) Iftrue, the filter produces catenated tokens for chains of alphabetical characters separated by non-alphabetic delimiters.final BuilderTgenerateNumberParts(Boolean value) Iftrue, the filter includes tokens consisting of only numeric characters in the output.final BuilderTgenerateWordParts(Boolean value) Iftrue, the filter includes tokens consisting of only alphabetical characters in the output.final BuilderTpreserveOriginal(Boolean value) Iftrue, the filter includes the original version of any split tokens in the output.final BuilderTprotectedWords(String value, String... values) Array of tokens the filter won’t split.final BuilderTprotectedWords(List<String> list) Array of tokens the filter won’t split.final BuilderTprotectedWordsPath(String value) Path to a file that contains a list of tokens the filter won’t split.final BuilderTsplitOnCaseChange(Boolean value) Iftrue, the filter splits tokens at letter case transitions.final BuilderTsplitOnNumerics(Boolean value) Iftrue, the filter splits tokens at letter-number transitions.final BuilderTstemEnglishPossessive(Boolean value) Iftrue, the filter removes the English possessive ('s) from the end of each token.final BuilderTArray of custom type mappings for characters.final BuilderTArray of custom type mappings for characters.final BuilderTtypeTablePath(String value) Path to a file that contains custom type mappings for characters.Methods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder
self, versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
catenateAll
Iftrue, the filter produces catenated tokens for chains of alphanumeric characters separated by non-alphabetic delimiters. Defaults tofalse.API name:
catenate_all -
catenateNumbers
Iftrue, the filter produces catenated tokens for chains of numeric characters separated by non-alphabetic delimiters. Defaults tofalse.API name:
catenate_numbers -
catenateWords
Iftrue, the filter produces catenated tokens for chains of alphabetical characters separated by non-alphabetic delimiters. Defaults tofalse.API name:
catenate_words -
generateNumberParts
Iftrue, the filter includes tokens consisting of only numeric characters in the output. Iffalse, the filter excludes these tokens from the output. Defaults totrue.API name:
generate_number_parts -
generateWordParts
Iftrue, the filter includes tokens consisting of only alphabetical characters in the output. Iffalse, the filter excludes these tokens from the output. Defaults totrue.API name:
generate_word_parts -
preserveOriginal
Iftrue, the filter includes the original version of any split tokens in the output. This original version includes non-alphanumeric delimiters. Defaults tofalse.API name:
preserve_original -
protectedWords
Array of tokens the filter won’t split.API name:
protected_wordsAdds all elements of
listtoprotectedWords. -
protectedWords
Array of tokens the filter won’t split.API name:
protected_wordsAdds one or more values to
protectedWords. -
protectedWordsPath
Path to a file that contains a list of tokens the filter won’t split. This path must be absolute or relative to theconfiglocation, and the file must be UTF-8 encoded. Each token in the file must be separated by a line break.API name:
protected_words_path -
splitOnCaseChange
Iftrue, the filter splits tokens at letter case transitions. For example: camelCase -> [ camel, Case ]. Defaults totrue.API name:
split_on_case_change -
splitOnNumerics
Iftrue, the filter splits tokens at letter-number transitions. For example: j2se -> [ j, 2, se ]. Defaults totrue.API name:
split_on_numerics -
stemEnglishPossessive
Iftrue, the filter removes the English possessive ('s) from the end of each token. For example: O'Neil's -> [ O, Neil ]. Defaults totrue.API name:
stem_english_possessive -
typeTable
Array of custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.API name:
type_tableAdds all elements of
listtotypeTable. -
typeTable
Array of custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.API name:
type_tableAdds one or more values to
typeTable. -
typeTablePath
Path to a file that contains custom type mappings for characters. This allows you to map non-alphanumeric characters as numeric or alphanumeric to avoid splitting on those characters.API name:
type_table_path
-