Class ChiSquareHeuristic
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.ChiSquareHeuristic
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ChiSquareHeuristic>Json deserializer forChiSquareHeuristic -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Set tofalseif you defined a custom background filter that represents a different set of documents that you want to compare to.final booleanRequired - Set tofalseto filter out the terms that appear less often in the subset than in documents outside the subset.static ChiSquareHeuristicvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forChiSquareHeuristic
-
-
Method Details
-
of
public static ChiSquareHeuristic of(Function<ChiSquareHeuristic.Builder, ObjectBuilder<ChiSquareHeuristic>> fn) -
backgroundIsSuperset
public final boolean backgroundIsSuperset()Required - Set tofalseif 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 tofalseto filter out the terms that appear less often in the subset than in documents outside the subset.API name:
include_negatives -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupChiSquareHeuristicDeserializer
protected static void setupChiSquareHeuristicDeserializer(ObjectDeserializer<ChiSquareHeuristic.Builder> op)
-