Class SignificantTermsAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
org.opensearch.client.opensearch._types.aggregations.SignificantTermsAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<SignificantTermsAggregation.Builder,SignificantTermsAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SignificantTermsAggregation
extends BucketAggregationBase
implements AggregationVariant, ToCopyableBuilder<SignificantTermsAggregation.Builder,SignificantTermsAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SignificantTermsAggregation> Json deserializer forSignificantTermsAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.final QueryAPI name:background_filterbuilder()final ChiSquareHeuristicAPI name:chi_squarebooleanfinal TermsExcludeexclude()API name:excludeAPI name:execution_hintfinal Stringfield()API name:fieldgnd()API name:gndinthashCode()final TermsIncludeinclude()API name:includefinal EmptyObjectjlh()API name:jlhfinal LongOnly return terms that are found in more thanmin_doc_counthits.API name:mutual_informationstatic SignificantTermsAggregationfinal PercentageScoreHeuristicAPI name:percentagefinal ScriptedHeuristicAPI name:script_heuristicprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSignificantTermsAggregationDeserializer(ObjectDeserializer<SignificantTermsAggregation.Builder> op) final LongRegulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to themin_doc_count.final IntegerCan be used to control the volumes of candidate terms produced by each shard.final Integersize()The number of buckets returned out of the overall terms list.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSignificantTermsAggregation
-
-
Method Details
-
of
-
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
backgroundFilter
API name:background_filter -
chiSquare
API name:chi_square -
exclude
API name:exclude -
executionHint
API name:execution_hint -
field
API name:field -
gnd
API name:gnd -
include
API name:include -
jlh
API name:jlh -
minDocCount
Only return terms that are found in more thanmin_doc_counthits.API name:
min_doc_count -
mutualInformation
API name:mutual_information -
percentage
API name:percentage -
scriptHeuristic
API name:script_heuristic -
shardMinDocCount
Regulates the certainty a shard has if the term should actually be added to the candidate list or not with respect to themin_doc_count. Terms will only be considered if their local shard frequency within the set is higher than theshard_min_doc_count.API name:
shard_min_doc_count -
shardSize
Can be used to control the volumes of candidate terms produced by each shard. By default,shard_sizewill be automatically estimated based on the number of shards and thesizeparameter.API name:
shard_size -
size
The number of buckets returned out of the overall terms list.API name:
size -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SignificantTermsAggregation.Builder,SignificantTermsAggregation> - Returns:
- a new builder instance.
-
builder
-
setupSignificantTermsAggregationDeserializer
protected static void setupSignificantTermsAggregationDeserializer(ObjectDeserializer<SignificantTermsAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classBucketAggregationBase
-
equals
- Overrides:
equalsin classBucketAggregationBase
-