Uses of Class
org.elasticsearch.index.query.QueryShardContext
-
-
Uses of QueryShardContext in org.elasticsearch.cluster.metadata
Methods in org.elasticsearch.cluster.metadata with parameters of type QueryShardContext Modifier and Type Method Description voidAliasValidator. validateAliasFilter(String alias, byte[] filter, QueryShardContext queryShardContext, NamedXContentRegistry xContentRegistry)Validates an alias filter by parsing it using the providedQueryShardContextvoidAliasValidator. validateAliasFilter(String alias, String filter, QueryShardContext queryShardContext, NamedXContentRegistry xContentRegistry)Validates an alias filter by parsing it using the providedQueryShardContext -
Uses of QueryShardContext in org.elasticsearch.index
Methods in org.elasticsearch.index that return QueryShardContext Modifier and Type Method Description QueryShardContextIndexService. newQueryShardContext(int shardId, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias)Creates a new QueryShardContext. -
Uses of QueryShardContext in org.elasticsearch.index.mapper
Methods in org.elasticsearch.index.mapper that return types with arguments of type QueryShardContext Modifier and Type Method Description Supplier<QueryShardContext>Mapper.TypeParser.ParserContext. queryShardContextSupplier()Methods in org.elasticsearch.index.mapper with parameters of type QueryShardContext Modifier and Type Method Description QueryAbstractGeometryFieldMapper.AbstractGeometryFieldType. existsQuery(QueryShardContext context)QueryBooleanFieldMapper.BooleanFieldType. existsQuery(QueryShardContext context)QueryCompletionFieldMapper.CompletionFieldType. existsQuery(QueryShardContext context)QueryDateFieldMapper.DateFieldType. existsQuery(QueryShardContext context)QueryFieldNamesFieldMapper.FieldNamesFieldType. existsQuery(QueryShardContext context)QueryGeoPointFieldMapper.GeoPointFieldType. existsQuery(QueryShardContext context)QueryIgnoredFieldMapper.IgnoredFieldType. existsQuery(QueryShardContext context)QueryIpFieldMapper.IpFieldType. existsQuery(QueryShardContext context)QueryKeywordFieldMapper.KeywordFieldType. existsQuery(QueryShardContext context)abstract QueryMappedFieldType. existsQuery(QueryShardContext context)QueryNumberFieldMapper.NumberFieldType. existsQuery(QueryShardContext context)QueryRangeFieldMapper.RangeFieldType. existsQuery(QueryShardContext context)QueryTextFieldMapper.TextFieldType. existsQuery(QueryShardContext context)QueryTypeFieldMapper.TypeFieldType. existsQuery(QueryShardContext context)QueryMappedFieldType. prefixQuery(String value, MultiTermQuery.RewriteMethod method, QueryShardContext context)QueryStringFieldType. prefixQuery(String value, MultiTermQuery.RewriteMethod method, QueryShardContext context)QueryTextFieldMapper.TextFieldType. prefixQuery(String value, MultiTermQuery.RewriteMethod method, QueryShardContext context)QueryAbstractGeometryFieldMapper.QueryProcessor. process(Geometry shape, String fieldName, ShapeRelation relation, QueryShardContext context)default QueryAbstractGeometryFieldMapper.QueryProcessor. process(Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)Deprecated.QueryBooleanFieldMapper.BooleanFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)QueryDateFieldMapper.DateFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, ShapeRelation relation, ZoneId timeZone, DateMathParser forcedDateParser, QueryShardContext context)QueryIpFieldMapper.IpFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)QueryMappedFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, ShapeRelation relation, ZoneId timeZone, DateMathParser parser, QueryShardContext context)Factory method for range queries.QueryNumberFieldMapper.NumberFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)QueryRangeFieldMapper.RangeFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, ShapeRelation relation, ZoneId timeZone, DateMathParser parser, QueryShardContext context)QueryRangeType. rangeQuery(String field, boolean hasDocValues, Object from, Object to, boolean includeFrom, boolean includeTo, ShapeRelation relation, ZoneId timeZone, DateMathParser dateMathParser, QueryShardContext context)QuerySimpleMappedFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, ShapeRelation relation, ZoneId timeZone, DateMathParser parser, QueryShardContext context)protected QuerySimpleMappedFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)Same asSimpleMappedFieldType.rangeQuery(Object, Object, boolean, boolean, ShapeRelation, ZoneId, DateMathParser, QueryShardContext)but without the trouble of relations or date-specific options.QueryStringFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)QueryTypeFieldMapper.TypeFieldType. rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context)QueryMappedFieldType. regexpQuery(String value, int flags, int maxDeterminizedStates, MultiTermQuery.RewriteMethod method, QueryShardContext context)QueryStringFieldType. regexpQuery(String value, int flags, int maxDeterminizedStates, MultiTermQuery.RewriteMethod method, QueryShardContext context)SpanQueryMappedFieldType. spanPrefixQuery(String value, SpanMultiTermQueryWrapper.SpanRewriteMethod method, QueryShardContext context)SpanQueryTextFieldMapper.TextFieldType. spanPrefixQuery(String value, SpanMultiTermQueryWrapper.SpanRewriteMethod method, QueryShardContext context)QueryAbstractGeometryFieldMapper.AbstractGeometryFieldType. termQuery(Object value, QueryShardContext context)QueryDateFieldMapper.DateFieldType. termQuery(Object value, QueryShardContext context)QueryFieldNamesFieldMapper.FieldNamesFieldType. termQuery(Object value, QueryShardContext context)QueryGeoPointFieldMapper.GeoPointFieldType. termQuery(Object value, QueryShardContext context)QueryIpFieldMapper.IpFieldType. termQuery(Object value, QueryShardContext context)abstract QueryMappedFieldType. termQuery(Object value, QueryShardContext context)Generates a query that will only match documents that contain the given value.QueryNumberFieldMapper.NumberFieldType. termQuery(Object value, QueryShardContext context)QueryRangeFieldMapper.RangeFieldType. termQuery(Object value, QueryShardContext context)QueryTypeFieldMapper.TypeFieldType. termQuery(Object value, QueryShardContext context)QueryIpFieldMapper.IpFieldType. termsQuery(List<?> values, QueryShardContext context)QueryMappedFieldType. termsQuery(List<?> values, QueryShardContext context)Build a constant-scoring query that matches all values.QueryNumberFieldMapper.NumberFieldType. termsQuery(List values, QueryShardContext context)QueryStringFieldType. termsQuery(List<?> values, QueryShardContext context)QueryTypeFieldMapper.TypeFieldType. termsQuery(List<?> values, QueryShardContext context)QueryDocumentMapper. typeFilter(QueryShardContext context)QueryMappedFieldType. wildcardQuery(String value, MultiTermQuery.RewriteMethod method, QueryShardContext context)QueryStringFieldType. wildcardQuery(String value, MultiTermQuery.RewriteMethod method, QueryShardContext context)Constructor parameters in org.elasticsearch.index.mapper with type arguments of type QueryShardContext Constructor Description DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)MapperService(IndexSettings indexSettings, IndexAnalyzers indexAnalyzers, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)ParserContext(Function<String,SimilarityProvider> similarityLookupService, MapperService mapperService, Function<String,Mapper.TypeParser> typeParsers, Version indexVersionCreated, Supplier<QueryShardContext> queryShardContextSupplier) -
Uses of QueryShardContext in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return QueryShardContext Modifier and Type Method Description QueryShardContextQueryRewriteContext. convertToShardContext()Returns an instance ofQueryShardContextif available of null otherwiseQueryShardContextQueryShardContext. convertToShardContext()Methods in org.elasticsearch.index.query with parameters of type QueryShardContext Modifier and Type Method Description protected abstract QueryAbstractGeometryQueryBuilder. buildShapeQuery(QueryShardContext context, MappedFieldType fieldType)builds the appropriate lucene shape queryQueryGeoShapeQueryBuilder. buildShapeQuery(QueryShardContext context, MappedFieldType fieldType)protected QueryAbstractGeometryQueryBuilder. doToQuery(QueryShardContext context)protected abstract QueryAbstractQueryBuilder. doToQuery(QueryShardContext context)protected QueryBoolQueryBuilder. doToQuery(QueryShardContext context)protected QueryBoostingQueryBuilder. doToQuery(QueryShardContext context)protected QueryCommonTermsQueryBuilder. doToQuery(QueryShardContext context)Deprecated.protected QueryConstantScoreQueryBuilder. doToQuery(QueryShardContext context)protected QueryDisMaxQueryBuilder. doToQuery(QueryShardContext context)protected QueryDistanceFeatureQueryBuilder. doToQuery(QueryShardContext context)protected QueryExistsQueryBuilder. doToQuery(QueryShardContext context)protected SpanQueryFieldMaskingSpanQueryBuilder. doToQuery(QueryShardContext context)protected QueryFuzzyQueryBuilder. doToQuery(QueryShardContext context)QueryGeoBoundingBoxQueryBuilder. doToQuery(QueryShardContext context)protected QueryGeoDistanceQueryBuilder. doToQuery(QueryShardContext shardContext)protected QueryGeoPolygonQueryBuilder. doToQuery(QueryShardContext context)protected QueryIdsQueryBuilder. doToQuery(QueryShardContext context)protected QueryIntervalQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchAllQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchBoolPrefixQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchNoneQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchPhrasePrefixQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchPhraseQueryBuilder. doToQuery(QueryShardContext context)protected QueryMatchQueryBuilder. doToQuery(QueryShardContext context)protected QueryMoreLikeThisQueryBuilder. doToQuery(QueryShardContext context)protected QueryMultiMatchQueryBuilder. doToQuery(QueryShardContext context)protected QueryNestedQueryBuilder. doToQuery(QueryShardContext context)protected QueryPrefixQueryBuilder. doToQuery(QueryShardContext context)protected QueryQueryStringQueryBuilder. doToQuery(QueryShardContext context)protected QueryRangeQueryBuilder. doToQuery(QueryShardContext context)protected QueryRegexpQueryBuilder. doToQuery(QueryShardContext context)protected QueryScriptQueryBuilder. doToQuery(QueryShardContext context)protected QuerySimpleQueryStringBuilder. doToQuery(QueryShardContext context)protected QuerySpanContainingQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanFirstQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanMultiTermQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanNearQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanNotQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanOrQueryBuilder. doToQuery(QueryShardContext context)protected SpanQuerySpanTermQueryBuilder. doToQuery(QueryShardContext context)protected QuerySpanWithinQueryBuilder. doToQuery(QueryShardContext context)protected QueryTermQueryBuilder. doToQuery(QueryShardContext context)protected QueryTermsQueryBuilder. doToQuery(QueryShardContext context)protected QueryTermsSetQueryBuilder. doToQuery(QueryShardContext context)protected QueryTypeQueryBuilder. doToQuery(QueryShardContext context)protected QueryWildcardQueryBuilder. doToQuery(QueryShardContext context)protected QueryWrapperQueryBuilder. doToQuery(QueryShardContext context)IntervalsSourceIntervalsSourceProvider.IntervalFilter. filter(IntervalsSource input, QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Combine. getSource(QueryShardContext ctx, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Disjunction. getSource(QueryShardContext ctx, MappedFieldType fieldType)abstract IntervalsSourceIntervalsSourceProvider. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Match. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Prefix. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Wildcard. getSource(QueryShardContext context, MappedFieldType fieldType)protected QueryVectorGeoShapeQueryProcessor. getVectorQueryFromShape(Geometry queryShape, String fieldName, ShapeRelation relation, QueryShardContext context)static QueryExistsQueryBuilder. newFilter(QueryShardContext context, String fieldPattern)QueryLegacyGeoShapeQueryProcessor. process(Geometry shape, String fieldName, ShapeRelation relation, QueryShardContext context)QueryLegacyGeoShapeQueryProcessor. process(Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)QueryVectorGeoShapeQueryProcessor. process(Geometry shape, String fieldName, ShapeRelation relation, QueryShardContext context)protected voidInnerHitContextBuilder. setupInnerHitsContext(QueryShardContext queryShardContext, InnerHitsContext.InnerHitSubContext innerHitsContext)QueryAbstractQueryBuilder. toQuery(QueryShardContext context)QueryQueryBuilder. toQuery(QueryShardContext context)Converts this QueryBuilder to a luceneQuery.QuerySpanNearQueryBuilder.SpanGapQueryBuilder. toQuery(QueryShardContext context)Constructors in org.elasticsearch.index.query with parameters of type QueryShardContext Constructor Description QueryShardContext(QueryShardContext source)QueryShardException(QueryShardContext context, String msg, Object... args)QueryShardException(QueryShardContext context, String msg, Throwable cause, Object... args) -
Uses of QueryShardContext in org.elasticsearch.index.query.functionscore
Methods in org.elasticsearch.index.query.functionscore with parameters of type QueryShardContext Modifier and Type Method Description protected ScoreFunctionDecayFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionFieldValueFactorFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionRandomScoreFunctionBuilder. doToFunction(QueryShardContext context)protected abstract ScoreFunctionScoreFunctionBuilder. doToFunction(QueryShardContext context)Build the Lucene ScoreFunction for this builder.protected ScoreFunctionScriptScoreFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionWeightBuilder. doToFunction(QueryShardContext context)protected QueryFunctionScoreQueryBuilder. doToQuery(QueryShardContext context)protected QueryScriptScoreQueryBuilder. doToQuery(QueryShardContext context)ScoreFunctionScoreFunctionBuilder. toFunction(QueryShardContext context)Called on a data node, converts this ScoreFunctionBuilder into its corresponding Lucene function object. -
Uses of QueryShardContext in org.elasticsearch.index.search
Fields in org.elasticsearch.index.search declared as QueryShardContext Modifier and Type Field Description protected QueryShardContextMatchQuery. contextMethods in org.elasticsearch.index.search with parameters of type QueryShardContext Modifier and Type Method Description static Map<String,Float>QueryParserHelper. resolveMappingField(QueryShardContext context, String fieldOrPattern, float weight, boolean acceptAllTypes, boolean acceptMetadataField)Resolves the provided pattern or field name from theQueryShardContextand return a map of the expanded fields with their original boost.static Map<String,Float>QueryParserHelper. resolveMappingField(QueryShardContext context, String fieldOrPattern, float weight, boolean acceptAllTypes, boolean acceptMetadataField, String fieldSuffix)Resolves the provided pattern or field name from theQueryShardContextand return a map of the expanded fields with their original boost.static Map<String,Float>QueryParserHelper. resolveMappingFields(QueryShardContext context, Map<String,Float> fieldsAndWeights)static Map<String,Float>QueryParserHelper. resolveMappingFields(QueryShardContext context, Map<String,Float> fieldsAndWeights, String fieldSuffix)Resolve all the field names and patterns present in the provided map with theQueryShardContextand returns a new map containing all the expanded fields with their original boost.Constructors in org.elasticsearch.index.search with parameters of type QueryShardContext Constructor Description MatchQuery(QueryShardContext context)MultiMatchQuery(QueryShardContext context)QueryStringQueryParser(QueryShardContext context, boolean lenient)Defaults to all queryiable fields extracted from the mapping for query termsQueryStringQueryParser(QueryShardContext context, String defaultField)QueryStringQueryParser(QueryShardContext context, String defaultField, boolean lenient)QueryStringQueryParser(QueryShardContext context, Map<String,Float> fieldsAndWeights)QueryStringQueryParser(QueryShardContext context, Map<String,Float> fieldsAndWeights, boolean lenient)SimpleQueryStringQueryParser(Map<String,Float> weights, int flags, SimpleQueryStringQueryParser.Settings settings, QueryShardContext context)Creates a new parser with custom flags used to enable/disable certain features.SimpleQueryStringQueryParser(Analyzer analyzer, Map<String,Float> weights, int flags, SimpleQueryStringQueryParser.Settings settings, QueryShardContext context)Creates a new parser with custom flags used to enable/disable certain features. -
Uses of QueryShardContext in org.elasticsearch.search.aggregations
Fields in org.elasticsearch.search.aggregations declared as QueryShardContext Modifier and Type Field Description protected QueryShardContextAggregatorFactory. queryShardContextMethods in org.elasticsearch.search.aggregations with parameters of type QueryShardContext Modifier and Type Method Description AggregatorFactoryAbstractAggregationBuilder. build(QueryShardContext queryShardContext, AggregatorFactory parent)protected abstract AggregatorFactoryAggregationBuilder. build(QueryShardContext queryShardContext, AggregatorFactory parent)Internal: build anAggregatorFactorybased on the configuration of this builder.AggregatorFactoriesAggregatorFactories.Builder. build(QueryShardContext queryShardContext, AggregatorFactory parent)protected abstract AggregatorFactoryAbstractAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subfactoriesBuilder)Constructors in org.elasticsearch.search.aggregations with parameters of type QueryShardContext Constructor Description AggregatorFactory(String name, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData)Constructs a new aggregator factory. -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.adjacency
Methods in org.elasticsearch.search.aggregations.bucket.adjacency with parameters of type QueryShardContext Modifier and Type Method Description protected AggregatorFactoryAdjacencyMatrixAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.adjacency with parameters of type QueryShardContext Constructor Description AdjacencyMatrixAggregatorFactory(String name, List<AdjacencyMatrixAggregator.KeyedFilter> filters, String separator, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.composite
Methods in org.elasticsearch.search.aggregations.bucket.composite with parameters of type QueryShardContext Modifier and Type Method Description org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigCompositeValuesSourceBuilder. build(QueryShardContext queryShardContext)protected AggregatorFactoryCompositeAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subfactoriesBuilder)protected abstract org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigCompositeValuesSourceBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)Creates aCompositeValuesSourceConfigfor this source.protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigDateHistogramValuesSourceBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigGeoTileGridValuesSourceBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigHistogramValuesSourceBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfigTermsValuesSourceBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.filter
Methods in org.elasticsearch.search.aggregations.bucket.filter with parameters of type QueryShardContext Modifier and Type Method Description protected AggregatorFactoryFilterAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected AggregatorFactoryFiltersAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.filter with parameters of type QueryShardContext Constructor Description FilterAggregatorFactory(String name, QueryBuilder filterBuilder, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData)FiltersAggregatorFactory(String name, List<FiltersAggregator.KeyedFilter> filters, boolean keyed, boolean otherBucket, String otherBucketKey, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.geogrid
-
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.global
Methods in org.elasticsearch.search.aggregations.bucket.global with parameters of type QueryShardContext Modifier and Type Method Description protected AggregatorFactoryGlobalAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.global with parameters of type QueryShardContext Constructor Description GlobalAggregatorFactory(String name, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.histogram
Methods in org.elasticsearch.search.aggregations.bucket.histogram with parameters of type QueryShardContext Modifier and Type Method Description protected ValuesSourceAggregatorFactory<ValuesSource.Numeric>AutoDateHistogramAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource>DateHistogramAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource>HistogramAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.missing
Methods in org.elasticsearch.search.aggregations.bucket.missing with parameters of type QueryShardContext Modifier and Type Method Description protected ValuesSourceAggregatorFactory<ValuesSource>MissingAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.missing with parameters of type QueryShardContext Constructor Description MissingAggregatorFactory(String name, ValuesSourceConfig<ValuesSource> config, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.nested
Methods in org.elasticsearch.search.aggregations.bucket.nested with parameters of type QueryShardContext Modifier and Type Method Description protected AggregatorFactoryNestedAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected AggregatorFactoryReverseNestedAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.nested with parameters of type QueryShardContext Constructor Description ReverseNestedAggregatorFactory(String name, boolean unmapped, ObjectMapper parentObjectMapper, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactories, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.range
-
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.sampler
Methods in org.elasticsearch.search.aggregations.bucket.sampler with parameters of type QueryShardContext Modifier and Type Method Description protected SamplerAggregatorFactorySamplerAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource>DiversifiedAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.significant
Methods in org.elasticsearch.search.aggregations.bucket.significant with parameters of type QueryShardContext Modifier and Type Method Description protected AggregatorFactorySignificantTextAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource>SignificantTermsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)Constructors in org.elasticsearch.search.aggregations.bucket.significant with parameters of type QueryShardContext Constructor Description SignificantTermsAggregatorFactory(String name, ValuesSourceConfig<ValuesSource> config, IncludeExclude includeExclude, String executionHint, QueryBuilder filterBuilder, TermsAggregator.BucketCountThresholds bucketCountThresholds, SignificanceHeuristic significanceHeuristic, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData)SignificantTextAggregatorFactory(String name, IncludeExclude includeExclude, QueryBuilder filterBuilder, TermsAggregator.BucketCountThresholds bucketCountThresholds, SignificanceHeuristic significanceHeuristic, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, String fieldName, String[] sourceFieldNames, boolean filterDuplicateText, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.significant.heuristics
Methods in org.elasticsearch.search.aggregations.bucket.significant.heuristics with parameters of type QueryShardContext Modifier and Type Method Description SignificanceHeuristicScriptHeuristic. rewrite(QueryShardContext queryShardContext)SignificanceHeuristicSignificanceHeuristic. rewrite(QueryShardContext queryShardContext)Provides a hook for subclasses to provide a version of the heuristic prepared for execution on data on a shard. -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.bucket.terms
Methods in org.elasticsearch.search.aggregations.bucket.terms with parameters of type QueryShardContext Modifier and Type Method Description protected ValuesSourceAggregatorFactory<ValuesSource>RareTermsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource>TermsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.metrics
Methods in org.elasticsearch.search.aggregations.metrics with parameters of type QueryShardContext Modifier and Type Method Description protected org.elasticsearch.search.aggregations.metrics.ScriptedMetricAggregatorFactoryScriptedMetricAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subfactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.TopHitsAggregatorFactoryTopHitsAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subfactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.AvgAggregatorFactoryAvgAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.CardinalityAggregatorFactoryCardinalityAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.ExtendedStatsAggregatorFactoryExtendedStatsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.GeoBoundsAggregatorFactoryGeoBoundsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.GeoPoint> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.GeoCentroidAggregatorFactoryGeoCentroidAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.GeoPoint> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.MaxAggregatorFactoryMaxAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource.Numeric>MedianAbsoluteDeviationAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.MinAggregatorFactoryMinAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource.Numeric>PercentileRanksAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<ValuesSource.Numeric>PercentilesAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.StatsAggregatorFactoryStatsAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.SumAggregatorFactorySumAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource.Numeric> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected org.elasticsearch.search.aggregations.metrics.ValueCountAggregatorFactoryValueCountAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<ValuesSource> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected MultiValuesSourceAggregatorFactory<ValuesSource.Numeric>WeightedAvgAggregationBuilder. innerBuild(QueryShardContext queryShardContext, Map<String,ValuesSourceConfig<ValuesSource.Numeric>> configs, DocValueFormat format, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder) -
Uses of QueryShardContext in org.elasticsearch.search.aggregations.support
Methods in org.elasticsearch.search.aggregations.support with parameters of type QueryShardContext Modifier and Type Method Description protected MultiValuesSourceAggregatorFactory<VS>MultiValuesSourceAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected ValuesSourceAggregatorFactory<VS>ValuesSourceAggregationBuilder. doBuild(QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected abstract MultiValuesSourceAggregatorFactory<VS>MultiValuesSourceAggregationBuilder. innerBuild(QueryShardContext queryShardContext, Map<String,ValuesSourceConfig<VS>> configs, DocValueFormat format, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)protected abstract ValuesSourceAggregatorFactory<VS>ValuesSourceAggregationBuilder. innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<VS> config, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder)static <VS extends ValuesSource>
ValuesSourceConfig<VS>ValuesSourceConfig. resolve(QueryShardContext context, ValueType valueType, String field, Script script, Object missing, ZoneId timeZone, String format)Resolve aValuesSourceConfiggiven configuration parameters.static <VS extends ValuesSource>
ValuesSourceConfig<VS>ValuesSourceConfig. resolve(QueryShardContext context, ValueType valueType, String field, Script script, Object missing, ZoneId timeZone, String format, Function<Script,ValuesSourceType> resolveScriptAny)Resolve aValuesSourceConfiggiven configuration parameters.protected ValuesSourceConfig<VS>ValuesSourceAggregationBuilder. resolveConfig(QueryShardContext queryShardContext)VSValuesSourceConfig. toValuesSource(QueryShardContext context)VSValuesSourceConfig. toValuesSource(QueryShardContext context, Function<Object,ValuesSource> resolveMissingAny)Get a value source given its configuration.Constructors in org.elasticsearch.search.aggregations.support with parameters of type QueryShardContext Constructor Description MultiValuesSourceAggregatorFactory(String name, Map<String,ValuesSourceConfig<VS>> configs, DocValueFormat format, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData)NumericMultiValuesSource(Map<String,ValuesSourceConfig<ValuesSource.Numeric>> valuesSourceConfigs, QueryShardContext context)ValuesSourceAggregatorFactory(String name, ValuesSourceConfig<VS> config, QueryShardContext queryShardContext, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, Map<String,Object> metaData) -
Uses of QueryShardContext in org.elasticsearch.search.collapse
Methods in org.elasticsearch.search.collapse with parameters of type QueryShardContext Modifier and Type Method Description CollapseContextCollapseBuilder. build(QueryShardContext queryShardContext) -
Uses of QueryShardContext in org.elasticsearch.search.fetch.subphase.highlight
Fields in org.elasticsearch.search.fetch.subphase.highlight declared as QueryShardContext Modifier and Type Field Description QueryShardContextHighlighterContext. contextMethods in org.elasticsearch.search.fetch.subphase.highlight with parameters of type QueryShardContext Modifier and Type Method Description SearchContextHighlightHighlightBuilder. build(QueryShardContext context)voidHighlightPhase. hitExecute(SearchShardTarget shardTarget, QueryShardContext context, Query query, SearchContextHighlight highlight, FetchSubPhase.HitContext hitContext)static List<Object>HighlightUtils. loadFieldValues(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource)Load field values for highlighting.protected List<Object>UnifiedHighlighter. loadFieldValues(MappedFieldType fieldType, SearchContextHighlight.Field field, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource)Constructors in org.elasticsearch.search.fetch.subphase.highlight with parameters of type QueryShardContext Constructor Description HighlighterContext(String fieldName, SearchContextHighlight.Field field, MappedFieldType fieldType, SearchShardTarget shardTarget, QueryShardContext context, SearchContextHighlight highlight, FetchSubPhase.HitContext hitContext, Query query)SourceScoreOrderFragmentsBuilder(MappedFieldType fieldType, QueryShardContext context, String[] preTags, String[] postTags, BoundaryScanner boundaryScanner)SourceSimpleFragmentsBuilder(MappedFieldType fieldType, QueryShardContext context, String[] preTags, String[] postTags, BoundaryScanner boundaryScanner) -
Uses of QueryShardContext in org.elasticsearch.search.internal
Methods in org.elasticsearch.search.internal that return QueryShardContext Modifier and Type Method Description QueryShardContextFilteredSearchContext. getQueryShardContext()abstract QueryShardContextSearchContext. getQueryShardContext() -
Uses of QueryShardContext in org.elasticsearch.search.rescore
Methods in org.elasticsearch.search.rescore with parameters of type QueryShardContext Modifier and Type Method Description RescoreContextRescorerBuilder. buildContext(QueryShardContext context)Build the RescoreContext that will be used to actually execute the rescore against a particular shard.QueryRescorer.QueryRescoreContextQueryRescorerBuilder. innerBuildContext(int windowSize, QueryShardContext context)protected abstract RescoreContextRescorerBuilder. innerBuildContext(int windowSize, QueryShardContext context)Extensions override this to build the context that they need for rescoring. -
Uses of QueryShardContext in org.elasticsearch.search.slice
Methods in org.elasticsearch.search.slice with parameters of type QueryShardContext Modifier and Type Method Description QuerySliceBuilder. toFilter(ClusterService clusterService, ShardSearchRequest request, QueryShardContext context, Version minNodeVersion)Converts this QueryBuilder to a luceneQuery. -
Uses of QueryShardContext in org.elasticsearch.search.sort
Methods in org.elasticsearch.search.sort with parameters of type QueryShardContext Modifier and Type Method Description SortFieldAndFormatFieldSortBuilder. build(QueryShardContext context)SortFieldAndFormatGeoDistanceSortBuilder. build(QueryShardContext context)SortFieldAndFormatScoreSortBuilder. build(QueryShardContext context)SortFieldAndFormatScriptSortBuilder. build(QueryShardContext context)protected abstract SortFieldAndFormatSortBuilder. build(QueryShardContext context)Create a @linkSortFieldAndFormatfrom this builder.static Optional<SortAndFormats>SortBuilder. buildSort(List<SortBuilder<?>> sortBuilders, QueryShardContext context)protected static IndexFieldData.XFieldComparatorSource.NestedSortBuilder. resolveNested(QueryShardContext context, String nestedPath, QueryBuilder nestedFilter)protected static IndexFieldData.XFieldComparatorSource.NestedSortBuilder. resolveNested(QueryShardContext context, NestedSortBuilder nestedSort) -
Uses of QueryShardContext in org.elasticsearch.search.suggest
Methods in org.elasticsearch.search.suggest that return QueryShardContext Modifier and Type Method Description QueryShardContextSuggestionSearchContext.SuggestionContext. getShardContext()Methods in org.elasticsearch.search.suggest with parameters of type QueryShardContext Modifier and Type Method Description SuggestionSearchContextSuggestBuilder. build(QueryShardContext context)protected abstract SuggestionSearchContext.SuggestionContextSuggestionBuilder. build(QueryShardContext context)Constructors in org.elasticsearch.search.suggest with parameters of type QueryShardContext Constructor Description SuggestionContext(Suggester<?> suggester, QueryShardContext shardContext) -
Uses of QueryShardContext in org.elasticsearch.search.suggest.completion
Methods in org.elasticsearch.search.suggest.completion with parameters of type QueryShardContext Modifier and Type Method Description SuggestionSearchContext.SuggestionContextCompletionSuggestionBuilder. build(QueryShardContext context)Constructors in org.elasticsearch.search.suggest.completion with parameters of type QueryShardContext Constructor Description CompletionSuggestionContext(QueryShardContext shardContext) -
Uses of QueryShardContext in org.elasticsearch.search.suggest.phrase
Methods in org.elasticsearch.search.suggest.phrase with parameters of type QueryShardContext Modifier and Type Method Description SuggestionSearchContext.SuggestionContextPhraseSuggestionBuilder. build(QueryShardContext context) -
Uses of QueryShardContext in org.elasticsearch.search.suggest.term
Methods in org.elasticsearch.search.suggest.term with parameters of type QueryShardContext Modifier and Type Method Description SuggestionSearchContext.SuggestionContextTermSuggestionBuilder. build(QueryShardContext context)
-