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