Class ChiSquareHeuristic

java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.ChiSquareHeuristic
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ChiSquareHeuristic extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • backgroundIsSuperset

      public final boolean backgroundIsSuperset()
      Required - Set to false if you defined a custom background filter that represents a different set of documents that you want to compare to.

      API name: background_is_superset

    • includeNegatives

      public final boolean includeNegatives()
      Required - Set to false to filter out the terms that appear less often in the subset than in documents outside the subset.

      API name: include_negatives

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupChiSquareHeuristicDeserializer

      protected static void setupChiSquareHeuristicDeserializer(ObjectDeserializer<ChiSquareHeuristic.Builder> op)