Class MutualInformationHeuristic
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MutualInformationHeuristic
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<MutualInformationHeuristic.Builder,MutualInformationHeuristic>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class MutualInformationHeuristic
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<MutualInformationHeuristic.Builder,MutualInformationHeuristic>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MutualInformationHeuristic> Json deserializer forMutualInformationHeuristic -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanSet tofalseif you defined a custom background filter that represents a different set of documents that you want to compare to.builder()booleaninthashCode()final BooleanSet tofalseto filter out the terms that appear less often in the subset than in documents outside the subset.static MutualInformationHeuristicvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupMutualInformationHeuristicDeserializer(ObjectDeserializer<MutualInformationHeuristic.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forMutualInformationHeuristic
-
-
Method Details
-
of
public static MutualInformationHeuristic of(Function<MutualInformationHeuristic.Builder, ObjectBuilder<MutualInformationHeuristic>> fn) -
backgroundIsSuperset
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
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
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MutualInformationHeuristic.Builder,MutualInformationHeuristic> - Returns:
- a new builder instance.
-
builder
-
setupMutualInformationHeuristicDeserializer
protected static void setupMutualInformationHeuristicDeserializer(ObjectDeserializer<MutualInformationHeuristic.Builder> op) -
hashCode
public int hashCode() -
equals
-