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,AggregationVariant
@JsonpDeserializable public class SignificantTextAggregation extends BucketAggregationBase implements AggregationVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSignificantTextAggregation.BuilderBuilder forSignificantTextAggregation.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SignificantTextAggregation>_DESERIALIZERJson deserializer forSignificantTextAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.QuerybackgroundFilter()API name:background_filterChiSquareHeuristicchiSquare()API name:chi_squareTermsExcludeexclude()API name:excludeTermsAggregationExecutionHintexecutionHint()API name:execution_hintjava.lang.Stringfield()API name:fieldjava.lang.BooleanfilterDuplicateText()API name:filter_duplicate_textGoogleNormalizedDistanceHeuristicgnd()API name:gndjava.util.List<java.lang.String>include()API name:includejava.lang.LongminDocCount()API name:min_doc_countMutualInformationHeuristicmutualInformation()API name:mutual_informationstatic SignificantTextAggregationof(java.util.function.Function<SignificantTextAggregation.Builder,ObjectBuilder<SignificantTextAggregation>> fn)PercentageScoreHeuristicpercentage()API name:percentageScriptedHeuristicscriptHeuristic()API name:script_heuristicprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSignificantTextAggregationDeserializer(ObjectDeserializer<SignificantTextAggregation.Builder> op)java.lang.LongshardMinDocCount()API name:shard_min_doc_countjava.lang.IntegershardSize()API name:shard_sizejava.lang.Integersize()API name:sizejava.util.List<java.lang.String>sourceFields()API name:source_fields-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SignificantTextAggregation> _DESERIALIZER
Json deserializer forSignificantTextAggregation
-
-
Method Detail
-
of
public static SignificantTextAggregation of(java.util.function.Function<SignificantTextAggregation.Builder,ObjectBuilder<SignificantTextAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
backgroundFilter
@Nullable public final Query backgroundFilter()
API name:background_filter
-
chiSquare
@Nullable public final ChiSquareHeuristic chiSquare()
API name:chi_square
-
exclude
@Nullable public final TermsExclude exclude()
API name:exclude
-
executionHint
@Nullable public final TermsAggregationExecutionHint executionHint()
API name:execution_hint
-
field
@Nullable public final java.lang.String field()
API name:field
-
filterDuplicateText
@Nullable public final java.lang.Boolean filterDuplicateText()
API name:filter_duplicate_text
-
gnd
@Nullable public final GoogleNormalizedDistanceHeuristic gnd()
API name:gnd
-
include
public final java.util.List<java.lang.String> include()
API name:include
-
minDocCount
@Nullable public final java.lang.Long minDocCount()
API name:min_doc_count
-
mutualInformation
@Nullable public final MutualInformationHeuristic mutualInformation()
API name:mutual_information
-
percentage
@Nullable public final PercentageScoreHeuristic percentage()
API name:percentage
-
scriptHeuristic
@Nullable public final ScriptedHeuristic scriptHeuristic()
API name:script_heuristic
-
shardMinDocCount
@Nullable public final java.lang.Long shardMinDocCount()
API name:shard_min_doc_count
-
shardSize
@Nullable public final java.lang.Integer shardSize()
API name:shard_size
-
size
@Nullable public final java.lang.Integer size()
API name:size
-
sourceFields
public final java.util.List<java.lang.String> sourceFields()
API name:source_fields
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classAggregationBase
-
setupSignificantTextAggregationDeserializer
protected static void setupSignificantTextAggregationDeserializer(ObjectDeserializer<SignificantTextAggregation.Builder> op)
-
-