Class CategorizationAnalyzer

java.lang.Object
co.elastic.clients.elasticsearch.ml.CategorizationAnalyzer
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class CategorizationAnalyzer
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • charFilter

      @Nullable public java.util.List<CharFilter> charFilter()
      API name: char_filter
    • filter

      @Nullable public java.util.List<TokenFilter> filter()
      One or more character filters. In addition to the built-in character filters, other plugins can provide more character filters. If this property is not specified, no character filters are applied prior to categorization. If you are customizing some other aspect of the analyzer and you need to achieve the equivalent of categorization_filters (which are not permitted when some other aspect of the analyzer is customized), add them here as pattern replace character filters.

      API name: filter

    • tokenizer

      @Nullable public Tokenizer tokenizer()
      One or more token filters. In addition to the built-in token filters, other plugins can provide more token filters. If this property is not specified, no token filters are applied prior to categorization.

      API name: tokenizer

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupCategorizationAnalyzerDeserializer

      protected static void setupCategorizationAnalyzerDeserializer​(DelegatingDeserializer<CategorizationAnalyzer.Builder> op)