Class CompoundWordTokenFilterBase.AbstractBuilder<BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>>

java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<BuilderT>
org.opensearch.client.opensearch._types.analysis.CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>
Direct Known Subclasses:
DictionaryDecompounderTokenFilter.Builder, HyphenationDecompounderTokenFilter.Builder
Enclosing class:
CompoundWordTokenFilterBase

public abstract static class CompoundWordTokenFilterBase.AbstractBuilder<BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>> extends TokenFilterBase.AbstractBuilder<BuilderT>
  • Constructor Details

  • Method Details

    • hyphenationPatternsPath

      @Nonnull public final BuilderT hyphenationPatternsPath(@Nullable String value)
      API name: hyphenation_patterns_path
    • maxSubwordSize

      @Nonnull public final BuilderT maxSubwordSize(@Nullable Integer value)
      API name: max_subword_size
    • minSubwordSize

      @Nonnull public final BuilderT minSubwordSize(@Nullable Integer value)
      API name: min_subword_size
    • minWordSize

      @Nonnull public final BuilderT minWordSize(@Nullable Integer value)
      API name: min_word_size
    • onlyLongestMatch

      @Nonnull public final BuilderT onlyLongestMatch(@Nullable Boolean value)
      API name: only_longest_match
    • wordList

      @Nonnull public final BuilderT wordList(List<String> list)
      API name: word_list

      Adds all elements of list to wordList.

    • wordList

      @Nonnull public final BuilderT wordList(String value, String... values)
      API name: word_list

      Adds one or more values to wordList.

    • wordListPath

      @Nonnull public final BuilderT wordListPath(@Nullable String value)
      API name: word_list_path