Search in sources :

Example 1 with SignificanceHeuristicSpec

use of org.opensearch.plugins.SearchPlugin.SignificanceHeuristicSpec in project OpenSearch by opensearch-project.

the class SearchModule method registerSignificanceHeuristic.

private <T extends SignificanceHeuristic> void registerSignificanceHeuristic(SignificanceHeuristicSpec<?> spec) {
    namedXContents.add(new NamedXContentRegistry.Entry(SignificanceHeuristic.class, spec.getName(), p -> spec.getParser().apply(p, null)));
    namedWriteables.add(new NamedWriteableRegistry.Entry(SignificanceHeuristic.class, spec.getName().getPreferredName(), spec.getReader()));
}
Also used : ScoreFunctionBuilder(org.opensearch.index.query.functionscore.ScoreFunctionBuilder) LinearDecayFunctionBuilder(org.opensearch.index.query.functionscore.LinearDecayFunctionBuilder) SignificanceHeuristic(org.opensearch.search.aggregations.bucket.terms.heuristic.SignificanceHeuristic) Collections.unmodifiableList(java.util.Collections.unmodifiableList) InternalAdjacencyMatrix(org.opensearch.search.aggregations.bucket.adjacency.InternalAdjacencyMatrix) Entry(org.opensearch.common.io.stream.NamedWriteableRegistry.Entry) TermsSetQueryBuilder(org.opensearch.index.query.TermsSetQueryBuilder) UnmappedSampler(org.opensearch.search.aggregations.bucket.sampler.UnmappedSampler) FieldSortBuilder(org.opensearch.search.sort.FieldSortBuilder) SortValue(org.opensearch.search.sort.SortValue) Map(java.util.Map) QuerySpec(org.opensearch.plugins.SearchPlugin.QuerySpec) FilterAggregationBuilder(org.opensearch.search.aggregations.bucket.filter.FilterAggregationBuilder) BucketSortPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.BucketSortPipelineAggregationBuilder) ScriptScoreQueryBuilder(org.opensearch.index.query.functionscore.ScriptScoreQueryBuilder) DistanceFeatureQueryBuilder(org.opensearch.index.query.DistanceFeatureQueryBuilder) LongRareTerms(org.opensearch.search.aggregations.bucket.terms.LongRareTerms) LongTerms(org.opensearch.search.aggregations.bucket.terms.LongTerms) VariableWidthHistogramAggregationBuilder(org.opensearch.search.aggregations.bucket.histogram.VariableWidthHistogramAggregationBuilder) DerivativePipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.DerivativePipelineAggregationBuilder) BoostingQueryBuilder(org.opensearch.index.query.BoostingQueryBuilder) SpanNearQueryBuilder(org.opensearch.index.query.SpanNearQueryBuilder) InternalTDigestPercentileRanks(org.opensearch.search.aggregations.metrics.InternalTDigestPercentileRanks) CompletionSuggestion(org.opensearch.search.suggest.completion.CompletionSuggestion) TypeQueryBuilder(org.opensearch.index.query.TypeQueryBuilder) SuggestionBuilder(org.opensearch.search.suggest.SuggestionBuilder) MovAvgModel(org.opensearch.search.aggregations.pipeline.MovAvgModel) MovAvgPipelineAggregator(org.opensearch.search.aggregations.pipeline.MovAvgPipelineAggregator) SpanGapQueryBuilder(org.opensearch.index.query.SpanNearQueryBuilder.SpanGapQueryBuilder) TermsQueryBuilder(org.opensearch.index.query.TermsQueryBuilder) MatchedQueriesPhase(org.opensearch.search.fetch.subphase.MatchedQueriesPhase) InternalDateRange(org.opensearch.search.aggregations.bucket.range.InternalDateRange) InternalFilter(org.opensearch.search.aggregations.bucket.filter.InternalFilter) PrefixQueryBuilder(org.opensearch.index.query.PrefixQueryBuilder) PipelineAggregationSpec(org.opensearch.plugins.SearchPlugin.PipelineAggregationSpec) DateHistogramAggregationBuilder(org.opensearch.search.aggregations.bucket.histogram.DateHistogramAggregationBuilder) Writeable(org.opensearch.common.io.stream.Writeable) ExplainPhase(org.opensearch.search.fetch.subphase.ExplainPhase) PercentageScore(org.opensearch.search.aggregations.bucket.terms.heuristic.PercentageScore) HighlightPhase(org.opensearch.search.fetch.subphase.highlight.HighlightPhase) ConstantScoreQueryBuilder(org.opensearch.index.query.ConstantScoreQueryBuilder) SpanTermQueryBuilder(org.opensearch.index.query.SpanTermQueryBuilder) ExtendedStatsBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.ExtendedStatsBucketPipelineAggregator) QueryRescorerBuilder(org.opensearch.search.rescore.QueryRescorerBuilder) GeoDistanceSortBuilder(org.opensearch.search.sort.GeoDistanceSortBuilder) SearchPlugin(org.opensearch.plugins.SearchPlugin) MaxAggregationBuilder(org.opensearch.search.aggregations.metrics.MaxAggregationBuilder) InternalFilters(org.opensearch.search.aggregations.bucket.filter.InternalFilters) IntervalsSourceProvider(org.opensearch.index.query.IntervalsSourceProvider) JLHScore(org.opensearch.search.aggregations.bucket.terms.heuristic.JLHScore) AvgBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.AvgBucketPipelineAggregator) ScoreFunctionSpec(org.opensearch.plugins.SearchPlugin.ScoreFunctionSpec) NamedRegistry(org.opensearch.common.NamedRegistry) FunctionScoreQueryBuilder(org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder) MoreLikeThisQueryBuilder(org.opensearch.index.query.MoreLikeThisQueryBuilder) CompletionSuggestionBuilder(org.opensearch.search.suggest.completion.CompletionSuggestionBuilder) CommonTermsQueryBuilder(org.opensearch.index.query.CommonTermsQueryBuilder) DerivativePipelineAggregator(org.opensearch.search.aggregations.pipeline.DerivativePipelineAggregator) FieldMaskingSpanQueryBuilder(org.opensearch.index.query.FieldMaskingSpanQueryBuilder) GeoShapeQueryBuilder(org.opensearch.index.query.GeoShapeQueryBuilder) BaseAggregationBuilder(org.opensearch.search.aggregations.BaseAggregationBuilder) FetchPhase(org.opensearch.search.fetch.FetchPhase) InternalAutoDateHistogram(org.opensearch.search.aggregations.bucket.histogram.InternalAutoDateHistogram) MinBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.MinBucketPipelineAggregator) SeqNoPrimaryTermPhase(org.opensearch.search.fetch.subphase.SeqNoPrimaryTermPhase) StupidBackoff(org.opensearch.search.suggest.phrase.StupidBackoff) XContentParser(org.opensearch.common.xcontent.XContentParser) InternalMax(org.opensearch.search.aggregations.metrics.InternalMax) SearchExtensionSpec(org.opensearch.plugins.SearchPlugin.SearchExtensionSpec) MinBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.MinBucketPipelineAggregationBuilder) UnmappedSignificantTerms(org.opensearch.search.aggregations.bucket.terms.UnmappedSignificantTerms) BucketSortPipelineAggregator(org.opensearch.search.aggregations.pipeline.BucketSortPipelineAggregator) AvgBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.AvgBucketPipelineAggregationBuilder) DateRangeAggregationBuilder(org.opensearch.search.aggregations.bucket.range.DateRangeAggregationBuilder) InternalTDigestPercentiles(org.opensearch.search.aggregations.metrics.InternalTDigestPercentiles) FieldValueFactorFunctionBuilder(org.opensearch.index.query.functionscore.FieldValueFactorFunctionBuilder) Highlighter(org.opensearch.search.fetch.subphase.highlight.Highlighter) SmoothingModel(org.opensearch.search.suggest.phrase.SmoothingModel) IntervalQueryBuilder(org.opensearch.index.query.IntervalQueryBuilder) SamplerAggregationBuilder(org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder) BucketSelectorPipelineAggregator(org.opensearch.search.aggregations.pipeline.BucketSelectorPipelineAggregator) FastVectorHighlighter(org.opensearch.search.fetch.subphase.highlight.FastVectorHighlighter) FiltersAggregationBuilder(org.opensearch.search.aggregations.bucket.filter.FiltersAggregationBuilder) MatchNoneQueryBuilder(org.opensearch.index.query.MatchNoneQueryBuilder) InternalExtendedStats(org.opensearch.search.aggregations.metrics.InternalExtendedStats) HoltWintersModel(org.opensearch.search.aggregations.pipeline.HoltWintersModel) CumulativeSumPipelineAggregator(org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregator) PlainHighlighter(org.opensearch.search.fetch.subphase.highlight.PlainHighlighter) TopHitsAggregationBuilder(org.opensearch.search.aggregations.metrics.TopHitsAggregationBuilder) QueryBuilder(org.opensearch.index.query.QueryBuilder) MaxBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.MaxBucketPipelineAggregator) PipelineAggregator(org.opensearch.search.aggregations.pipeline.PipelineAggregator) UnmappedTerms(org.opensearch.search.aggregations.bucket.terms.UnmappedTerms) FetchPhaseConstructionContext(org.opensearch.plugins.SearchPlugin.FetchPhaseConstructionContext) InternalSimpleValue(org.opensearch.search.aggregations.pipeline.InternalSimpleValue) DiversifiedAggregationBuilder(org.opensearch.search.aggregations.bucket.sampler.DiversifiedAggregationBuilder) ScriptSortBuilder(org.opensearch.search.sort.ScriptSortBuilder) SuggesterSpec(org.opensearch.plugins.SearchPlugin.SuggesterSpec) InternalBinaryRange(org.opensearch.search.aggregations.bucket.range.InternalBinaryRange) ChiSquare(org.opensearch.search.aggregations.bucket.terms.heuristic.ChiSquare) InternalReverseNested(org.opensearch.search.aggregations.bucket.nested.InternalReverseNested) SignificantTextAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTextAggregationBuilder) FuzzyQueryBuilder(org.opensearch.index.query.FuzzyQueryBuilder) Function(java.util.function.Function) AutoDateHistogramAggregationBuilder(org.opensearch.search.aggregations.bucket.histogram.AutoDateHistogramAggregationBuilder) NamedWriteableRegistry(org.opensearch.common.io.stream.NamedWriteableRegistry) CompositeAggregationBuilder(org.opensearch.search.aggregations.bucket.composite.CompositeAggregationBuilder) UnmappedRareTerms(org.opensearch.search.aggregations.bucket.terms.UnmappedRareTerms) GND(org.opensearch.search.aggregations.bucket.terms.heuristic.GND) MovFnPipelineAggregator(org.opensearch.search.aggregations.pipeline.MovFnPipelineAggregator) GeoBoundingBoxQueryBuilder(org.opensearch.index.query.GeoBoundingBoxQueryBuilder) MatchPhraseQueryBuilder(org.opensearch.index.query.MatchPhraseQueryBuilder) MultiMatchQueryBuilder(org.opensearch.index.query.MultiMatchQueryBuilder) SearchExtSpec(org.opensearch.plugins.SearchPlugin.SearchExtSpec) SignificantStringTerms(org.opensearch.search.aggregations.bucket.terms.SignificantStringTerms) InternalCardinality(org.opensearch.search.aggregations.metrics.InternalCardinality) InternalGeoCentroid(org.opensearch.search.aggregations.metrics.InternalGeoCentroid) PercentileRanksAggregationBuilder(org.opensearch.search.aggregations.metrics.PercentileRanksAggregationBuilder) GeoTileGridAggregationBuilder(org.opensearch.search.aggregations.bucket.geogrid.GeoTileGridAggregationBuilder) GeoDistanceQueryBuilder(org.opensearch.index.query.GeoDistanceQueryBuilder) IdsQueryBuilder(org.opensearch.index.query.IdsQueryBuilder) InternalTopHits(org.opensearch.search.aggregations.metrics.InternalTopHits) InternalValueCount(org.opensearch.search.aggregations.metrics.InternalValueCount) AdjacencyMatrixAggregationBuilder(org.opensearch.search.aggregations.bucket.adjacency.AdjacencyMatrixAggregationBuilder) InternalComposite(org.opensearch.search.aggregations.bucket.composite.InternalComposite) TermQueryBuilder(org.opensearch.index.query.TermQueryBuilder) InternalGlobal(org.opensearch.search.aggregations.bucket.global.InternalGlobal) Consumer(java.util.function.Consumer) SignificantLongTerms(org.opensearch.search.aggregations.bucket.terms.SignificantLongTerms) RareTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.RareTermsAggregationBuilder) StatsBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.StatsBucketPipelineAggregationBuilder) TermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder) ScriptFieldsPhase(org.opensearch.search.fetch.subphase.ScriptFieldsPhase) MatchAllQueryBuilder(org.opensearch.index.query.MatchAllQueryBuilder) ExtendedStatsBucketParser(org.opensearch.search.aggregations.pipeline.ExtendedStatsBucketParser) MovAvgPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.MovAvgPipelineAggregationBuilder) ExtendedStatsBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.ExtendedStatsBucketPipelineAggregationBuilder) InternalSampler(org.opensearch.search.aggregations.bucket.sampler.InternalSampler) FetchSourcePhase(org.opensearch.search.fetch.subphase.FetchSourcePhase) RescorerBuilder(org.opensearch.search.rescore.RescorerBuilder) InternalAvg(org.opensearch.search.aggregations.metrics.InternalAvg) InternalDateHistogram(org.opensearch.search.aggregations.bucket.histogram.InternalDateHistogram) Laplace(org.opensearch.search.suggest.phrase.Laplace) Arrays(java.util.Arrays) GaussDecayFunctionBuilder(org.opensearch.index.query.functionscore.GaussDecayFunctionBuilder) InternalHistogram(org.opensearch.search.aggregations.bucket.histogram.InternalHistogram) EwmaModel(org.opensearch.search.aggregations.pipeline.EwmaModel) GeoDistanceAggregationBuilder(org.opensearch.search.aggregations.bucket.range.GeoDistanceAggregationBuilder) AggregationSpec(org.opensearch.plugins.SearchPlugin.AggregationSpec) MutualInformation(org.opensearch.search.aggregations.bucket.terms.heuristic.MutualInformation) ParseFieldRegistry(org.opensearch.common.xcontent.ParseFieldRegistry) GeoBoundsAggregationBuilder(org.opensearch.search.aggregations.metrics.GeoBoundsAggregationBuilder) SpanNotQueryBuilder(org.opensearch.index.query.SpanNotQueryBuilder) PipelineAggregationBuilder(org.opensearch.search.aggregations.PipelineAggregationBuilder) IpRangeAggregationBuilder(org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder) StringRareTerms(org.opensearch.search.aggregations.bucket.terms.StringRareTerms) WrapperQueryBuilder(org.opensearch.index.query.WrapperQueryBuilder) ExistsQueryBuilder(org.opensearch.index.query.ExistsQueryBuilder) SpanContainingQueryBuilder(org.opensearch.index.query.SpanContainingQueryBuilder) InternalHDRPercentiles(org.opensearch.search.aggregations.metrics.InternalHDRPercentiles) SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) TermSuggestionBuilder(org.opensearch.search.suggest.term.TermSuggestionBuilder) FetchVersionPhase(org.opensearch.search.fetch.subphase.FetchVersionPhase) UnifiedHighlighter(org.opensearch.search.fetch.subphase.highlight.UnifiedHighlighter) FetchSubPhase(org.opensearch.search.fetch.FetchSubPhase) SimpleModel(org.opensearch.search.aggregations.pipeline.SimpleModel) GlobalAggregationBuilder(org.opensearch.search.aggregations.bucket.global.GlobalAggregationBuilder) Settings(org.opensearch.common.settings.Settings) PhraseSuggestion(org.opensearch.search.suggest.phrase.PhraseSuggestion) WildcardQueryBuilder(org.opensearch.index.query.WildcardQueryBuilder) CardinalityAggregationBuilder(org.opensearch.search.aggregations.metrics.CardinalityAggregationBuilder) InternalStatsBucket(org.opensearch.search.aggregations.pipeline.InternalStatsBucket) GeoHashGridAggregationBuilder(org.opensearch.search.aggregations.bucket.geogrid.GeoHashGridAggregationBuilder) SumBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.SumBucketPipelineAggregationBuilder) ValueCountAggregationBuilder(org.opensearch.search.aggregations.metrics.ValueCountAggregationBuilder) MinAggregationBuilder(org.opensearch.search.aggregations.metrics.MinAggregationBuilder) InternalStats(org.opensearch.search.aggregations.metrics.InternalStats) ScoreSortBuilder(org.opensearch.search.sort.ScoreSortBuilder) BoolQueryBuilder(org.opensearch.index.query.BoolQueryBuilder) ReverseNestedAggregationBuilder(org.opensearch.search.aggregations.bucket.nested.ReverseNestedAggregationBuilder) InternalGeoHashGrid(org.opensearch.search.aggregations.bucket.geogrid.InternalGeoHashGrid) MissingAggregationBuilder(org.opensearch.search.aggregations.bucket.missing.MissingAggregationBuilder) TermSuggestion(org.opensearch.search.suggest.term.TermSuggestion) InternalWeightedAvg(org.opensearch.search.aggregations.metrics.InternalWeightedAvg) StringTerms(org.opensearch.search.aggregations.bucket.terms.StringTerms) MaxBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.MaxBucketPipelineAggregationBuilder) ValuesSourceRegistry(org.opensearch.search.aggregations.support.ValuesSourceRegistry) ParseField(org.opensearch.common.ParseField) InternalGeoTileGrid(org.opensearch.search.aggregations.bucket.geogrid.InternalGeoTileGrid) ArrayList(java.util.ArrayList) InternalRange(org.opensearch.search.aggregations.bucket.range.InternalRange) SortSpec(org.opensearch.plugins.SearchPlugin.SortSpec) MatchPhrasePrefixQueryBuilder(org.opensearch.index.query.MatchPhrasePrefixQueryBuilder) RandomScoreFunctionBuilder(org.opensearch.index.query.functionscore.RandomScoreFunctionBuilder) InternalMissing(org.opensearch.search.aggregations.bucket.missing.InternalMissing) SortBuilder(org.opensearch.search.sort.SortBuilder) COMMON_TERMS_QUERY_DEPRECATION_MSG(org.opensearch.index.query.CommonTermsQueryBuilder.COMMON_TERMS_QUERY_DEPRECATION_MSG) HoltLinearModel(org.opensearch.search.aggregations.pipeline.HoltLinearModel) GeoPolygonQueryBuilder(org.opensearch.index.query.GeoPolygonQueryBuilder) PhraseSuggestionBuilder(org.opensearch.search.suggest.phrase.PhraseSuggestionBuilder) StatsAggregationBuilder(org.opensearch.search.aggregations.metrics.StatsAggregationBuilder) NamedXContentRegistry(org.opensearch.common.xcontent.NamedXContentRegistry) MatchQueryBuilder(org.opensearch.index.query.MatchQueryBuilder) ScriptScoreFunctionBuilder(org.opensearch.index.query.functionscore.ScriptScoreFunctionBuilder) SumAggregationBuilder(org.opensearch.search.aggregations.metrics.SumAggregationBuilder) InternalMin(org.opensearch.search.aggregations.metrics.InternalMin) RegexpQueryBuilder(org.opensearch.index.query.RegexpQueryBuilder) SerialDiffPipelineAggregator(org.opensearch.search.aggregations.pipeline.SerialDiffPipelineAggregator) InternalNested(org.opensearch.search.aggregations.bucket.nested.InternalNested) RangeAggregationBuilder(org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder) FetchScorePhase(org.opensearch.search.fetch.subphase.FetchScorePhase) InternalPercentilesBucket(org.opensearch.search.aggregations.pipeline.InternalPercentilesBucket) SpanMultiTermQueryBuilder(org.opensearch.index.query.SpanMultiTermQueryBuilder) ExtendedStatsAggregationBuilder(org.opensearch.search.aggregations.metrics.ExtendedStatsAggregationBuilder) AggregationBuilder(org.opensearch.search.aggregations.AggregationBuilder) ScriptedMetricAggregationBuilder(org.opensearch.search.aggregations.metrics.ScriptedMetricAggregationBuilder) SumBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.SumBucketPipelineAggregator) SignificanceHeuristicSpec(org.opensearch.plugins.SearchPlugin.SignificanceHeuristicSpec) InternalDerivative(org.opensearch.search.aggregations.pipeline.InternalDerivative) CumulativeSumPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.CumulativeSumPipelineAggregationBuilder) MedianAbsoluteDeviationAggregationBuilder(org.opensearch.search.aggregations.metrics.MedianAbsoluteDeviationAggregationBuilder) SerialDiffPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.SerialDiffPipelineAggregationBuilder) NestedQueryBuilder(org.opensearch.index.query.NestedQueryBuilder) InternalScriptedMetric(org.opensearch.search.aggregations.metrics.InternalScriptedMetric) LinearInterpolation(org.opensearch.search.suggest.phrase.LinearInterpolation) MovFnPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.MovFnPipelineAggregationBuilder) ShapesAvailability(org.opensearch.common.geo.ShapesAvailability) SpanOrQueryBuilder(org.opensearch.index.query.SpanOrQueryBuilder) WeightedAvgAggregationBuilder(org.opensearch.search.aggregations.metrics.WeightedAvgAggregationBuilder) InternalVariableWidthHistogram(org.opensearch.search.aggregations.bucket.histogram.InternalVariableWidthHistogram) InternalHDRPercentileRanks(org.opensearch.search.aggregations.metrics.InternalHDRPercentileRanks) InternalMedianAbsoluteDeviation(org.opensearch.search.aggregations.metrics.InternalMedianAbsoluteDeviation) List(java.util.List) QueryStringQueryBuilder(org.opensearch.index.query.QueryStringQueryBuilder) BucketSelectorPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.BucketSelectorPipelineAggregationBuilder) PercentilesBucketPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.PercentilesBucketPipelineAggregationBuilder) InternalAggregation(org.opensearch.search.aggregations.InternalAggregation) DoubleTerms(org.opensearch.search.aggregations.bucket.terms.DoubleTerms) SpanWithinQueryBuilder(org.opensearch.index.query.SpanWithinQueryBuilder) BucketScriptPipelineAggregationBuilder(org.opensearch.search.aggregations.pipeline.BucketScriptPipelineAggregationBuilder) MatchBoolPrefixQueryBuilder(org.opensearch.index.query.MatchBoolPrefixQueryBuilder) FetchFieldsPhase(org.opensearch.search.fetch.subphase.FetchFieldsPhase) HistogramAggregationBuilder(org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder) AvgAggregationBuilder(org.opensearch.search.aggregations.metrics.AvgAggregationBuilder) InternalGeoDistance(org.opensearch.search.aggregations.bucket.range.InternalGeoDistance) ScriptQueryBuilder(org.opensearch.index.query.ScriptQueryBuilder) SpanFirstQueryBuilder(org.opensearch.index.query.SpanFirstQueryBuilder) DisMaxQueryBuilder(org.opensearch.index.query.DisMaxQueryBuilder) SimpleQueryStringBuilder(org.opensearch.index.query.SimpleQueryStringBuilder) GeoCentroidAggregationBuilder(org.opensearch.search.aggregations.metrics.GeoCentroidAggregationBuilder) LinearModel(org.opensearch.search.aggregations.pipeline.LinearModel) ExponentialDecayFunctionBuilder(org.opensearch.index.query.functionscore.ExponentialDecayFunctionBuilder) InternalExtendedStatsBucket(org.opensearch.search.aggregations.pipeline.InternalExtendedStatsBucket) Objects.requireNonNull(java.util.Objects.requireNonNull) RescorerSpec(org.opensearch.plugins.SearchPlugin.RescorerSpec) InternalGeoBounds(org.opensearch.search.aggregations.metrics.InternalGeoBounds) PercentilesAggregationBuilder(org.opensearch.search.aggregations.metrics.PercentilesAggregationBuilder) BucketScriptPipelineAggregator(org.opensearch.search.aggregations.pipeline.BucketScriptPipelineAggregator) Setting(org.opensearch.common.settings.Setting) RangeQueryBuilder(org.opensearch.index.query.RangeQueryBuilder) GeoShapeType(org.opensearch.common.geo.GeoShapeType) FetchDocValuesPhase(org.opensearch.search.fetch.subphase.FetchDocValuesPhase) ScriptHeuristic(org.opensearch.search.aggregations.bucket.terms.heuristic.ScriptHeuristic) PercentilesBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.PercentilesBucketPipelineAggregator) BooleanQuery(org.apache.lucene.search.BooleanQuery) Suggest(org.opensearch.search.suggest.Suggest) WeightBuilder(org.opensearch.index.query.functionscore.WeightBuilder) Collections.unmodifiableMap(java.util.Collections.unmodifiableMap) InternalBucketMetricValue(org.opensearch.search.aggregations.pipeline.InternalBucketMetricValue) InternalSum(org.opensearch.search.aggregations.metrics.InternalSum) NestedAggregationBuilder(org.opensearch.search.aggregations.bucket.nested.NestedAggregationBuilder) StatsBucketPipelineAggregator(org.opensearch.search.aggregations.pipeline.StatsBucketPipelineAggregator) NamedWriteableRegistry(org.opensearch.common.io.stream.NamedWriteableRegistry) SignificanceHeuristic(org.opensearch.search.aggregations.bucket.terms.heuristic.SignificanceHeuristic) NamedXContentRegistry(org.opensearch.common.xcontent.NamedXContentRegistry) Entry(org.opensearch.common.io.stream.NamedWriteableRegistry.Entry)

Aggregations

ArrayList (java.util.ArrayList)1 Arrays (java.util.Arrays)1 Collections.unmodifiableList (java.util.Collections.unmodifiableList)1 Collections.unmodifiableMap (java.util.Collections.unmodifiableMap)1 List (java.util.List)1 Map (java.util.Map)1 Objects.requireNonNull (java.util.Objects.requireNonNull)1 Consumer (java.util.function.Consumer)1 Function (java.util.function.Function)1 BooleanQuery (org.apache.lucene.search.BooleanQuery)1 NamedRegistry (org.opensearch.common.NamedRegistry)1 ParseField (org.opensearch.common.ParseField)1 GeoShapeType (org.opensearch.common.geo.GeoShapeType)1 ShapesAvailability (org.opensearch.common.geo.ShapesAvailability)1 NamedWriteableRegistry (org.opensearch.common.io.stream.NamedWriteableRegistry)1 Entry (org.opensearch.common.io.stream.NamedWriteableRegistry.Entry)1 Writeable (org.opensearch.common.io.stream.Writeable)1 Setting (org.opensearch.common.settings.Setting)1 Settings (org.opensearch.common.settings.Settings)1 NamedXContentRegistry (org.opensearch.common.xcontent.NamedXContentRegistry)1