Class SignificantTextAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.AggregationBase
org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
org.opensearch.client.opensearch._types.aggregations.SignificantTextAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<SignificantTextAggregation.Builder,SignificantTextAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SignificantTextAggregation
extends BucketAggregationBase
implements AggregationVariant, ToCopyableBuilder<SignificantTextAggregation.Builder,SignificantTextAggregation>
-
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<SignificantTextAggregation> Json deserializer forSignificantTextAggregation -
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:fieldfinal BooleanWhether to out duplicate text to deal with noisy data.gnd()API name:gndinthashCode()final TermsIncludeinclude()API name:includefinal EmptyObjectjlh()API name:jlhfinal LongOnly return values that are found in more thanmin_doc_counthits.API name:mutual_informationstatic SignificantTextAggregationfinal PercentageScoreHeuristicAPI name:percentagefinal ScriptedHeuristicAPI name:script_heuristicprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSignificantTextAggregationDeserializer(ObjectDeserializer<SignificantTextAggregation.Builder> op) final LongRegulates the certainty a shard has if the values should actually be added to the candidate list or not with respect to themin_doc_count.final IntegerThe number of candidate terms produced by each shard.final Integersize()The number of buckets returned out of the overall terms list.API name:source_fieldsCreate 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 forSignificantTextAggregation
-
-
Method Details
-
of
public static SignificantTextAggregation of(Function<SignificantTextAggregation.Builder, ObjectBuilder<SignificantTextAggregation>> fn) -
_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 -
filterDuplicateText
Whether to out duplicate text to deal with noisy data.API name:
filter_duplicate_text -
gnd
API name:gnd -
include
API name:include -
jlh
API name:jlh -
minDocCount
Only return values 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 values should actually be added to the candidate list or not with respect to themin_doc_count. Values 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
The number 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 -
sourceFields
API name:source_fields -
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<SignificantTextAggregation.Builder,SignificantTextAggregation> - Returns:
- a new builder instance.
-
builder
-
setupSignificantTextAggregationDeserializer
protected static void setupSignificantTextAggregationDeserializer(ObjectDeserializer<SignificantTextAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classBucketAggregationBase
-
equals
- Overrides:
equalsin classBucketAggregationBase
-