Uses of Interface
org.elasticsearch.index.query.Rewriteable
-
-
Uses of Rewriteable in org.elasticsearch.index.query
Subinterfaces of Rewriteable in org.elasticsearch.index.query Modifier and Type Interface Description interfaceMultiTermQueryBuilderinterfaceQueryBuilderinterfaceSpanQueryBuilderMarker interface for a specific type ofQueryBuilderthat allows to build span queries.Classes in org.elasticsearch.index.query that implement Rewriteable Modifier and Type Class Description classAbstractGeometryQueryBuilder<QB extends AbstractGeometryQueryBuilder<QB>>BaseQueryBuilderthat builds a Geometry QueryclassAbstractQueryBuilder<QB extends AbstractQueryBuilder<QB>>Base class for all classes producing lucene queries.classBaseTermQueryBuilder<QB extends BaseTermQueryBuilder<QB>>classBoolQueryBuilderA Query that matches documents matching boolean combinations of other queries.classBoostingQueryBuilderThe BoostingQuery class can be used to effectively demote results that match a given query.classCommonTermsQueryBuilderDeprecated.Since max_optimization optimization landed in 7.0, normal MatchQuery will achieve the same result without any configuration.classConstantScoreQueryBuilderA query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.classDisMaxQueryBuilderA query that generates the union of documents produced by its sub-queries, and that scores each document with the maximum score for that document as produced by any sub-query, plus a tie breaking increment for any additional matching sub-queries.classDistanceFeatureQueryBuilderA query to boost scores based on their proximity to the given origin for date, date_nanos and geo_point field typesclassExistsQueryBuilderConstructs a query that only match on documents that the field has a value in them.classFieldMaskingSpanQueryBuilderclassFuzzyQueryBuilderA Query that does fuzzy matching for a specific value.classGeoBoundingBoxQueryBuilderCreates a Lucene query that will filter for all documents that lie within the specified bounding box.classGeoDistanceQueryBuilderFilter results of a query to include only those within a specific distance to some geo point.classGeoPolygonQueryBuilderclassGeoShapeQueryBuilderDerivedAbstractGeometryQueryBuilderthat builds a lat, lon GeoShape QueryclassIdsQueryBuilderA query that will return only documents matching specific ids (and a type).classIntervalQueryBuilderBuilder forIntervalQueryclassMatchAllQueryBuilderA query that matches on all documents.classMatchBoolPrefixQueryBuilderThe boolean prefix query analyzes the input text and creates a boolean query containing a Term query for each term, except for the last term, which is used to create a prefix queryclassMatchNoneQueryBuilderA query that matches no document.classMatchPhrasePrefixQueryBuilderMatch query is a query that analyzes the text and constructs a phrase prefix query as the result of the analysis.classMatchPhraseQueryBuilderMatch query is a query that analyzes the text and constructs a phrase query as the result of the analysis.classMatchQueryBuilderMatch query is a query that analyzes the text and constructs a query as the result of the analysis.classMoreLikeThisQueryBuilderA more like this query that finds documents that are "like" the provided set of document(s).classMultiMatchQueryBuilderSame asMatchQueryBuilderbut supports multiple fields.classNestedQueryBuilderclassPrefixQueryBuilderA Query that matches documents containing terms with a specified prefix.classQueryStringQueryBuilderA query that parses a query string and runs it.classRangeQueryBuilderA Query that matches documents within an range of terms.classRegexpQueryBuilderA Query that does fuzzy matching for a specific value.classScriptQueryBuilderclassSimpleQueryStringBuilderSimpleQuery is a query parser that acts similar to a query_string query, but won't throw exceptions for any weird string syntax.classSpanContainingQueryBuilderBuilder forSpanContainingQuery.classSpanFirstQueryBuilderclassSpanMultiTermQueryBuilderQuery that allows wrapping aMultiTermQueryBuilder(one of wildcard, fuzzy, prefix, term, range or regexp query) as aSpanQueryBuilderso it can be nested.classSpanNearQueryBuilderMatches spans which are near one another.static classSpanNearQueryBuilder.SpanGapQueryBuilderSpanGapQueryBuilder enables gaps in a SpanNearQuery.classSpanNotQueryBuilderclassSpanOrQueryBuilderSpan query that matches the union of its clauses.classSpanTermQueryBuilderA Span Query that matches documents containing a term.classSpanWithinQueryBuilderBuilder forSpanWithinQuery.classTermQueryBuilderA Query that matches documents containing a term.classTermsQueryBuilderA filter for a field based on several terms matching on any of them.classTermsSetQueryBuilderclassTypeQueryBuilderclassWildcardQueryBuilderImplements the wildcard search query.classWrapperQueryBuilderA Query builder which allows building a query given JSON string or binary data provided as input.Methods in org.elasticsearch.index.query with type parameters of type Rewriteable Modifier and Type Method Description static <T extends Rewriteable<T>>
List<T>Rewriteable. rewrite(List<T> rewritables, QueryRewriteContext context)Rewrites each element of the list until it doesn't change and returns a new list iff there is at least one element of the list that changed during it's rewrite.static <T extends Rewriteable<T>>
TRewriteable. rewrite(T original, QueryRewriteContext context)Rewrites the givenRewriteableinto its primitive form.static <T extends Rewriteable<T>>
TRewriteable. rewrite(T original, QueryRewriteContext context, boolean assertNoAsyncTasks)Rewrites the givenRewriteableinto its primitive form.static <T extends Rewriteable<T>>
voidRewriteable. rewriteAndFetch(T original, QueryRewriteContext context, ActionListener<T> rewriteResponse)Rewrites the given rewriteable and fetches pending async tasks for each round before rewriting again.static <T extends Rewriteable<T>>
voidRewriteable. rewriteAndFetch(T original, QueryRewriteContext context, ActionListener<T> rewriteResponse, int iteration)Rewrites the given rewriteable and fetches pending async tasks for each round before rewriting again. -
Uses of Rewriteable in org.elasticsearch.index.query.functionscore
Classes in org.elasticsearch.index.query.functionscore that implement Rewriteable Modifier and Type Class Description classFunctionScoreQueryBuilderA query that uses a filters with a script associated with them to compute the score.classScriptScoreQueryBuilderA query that computes a document score based on the provided script -
Uses of Rewriteable in org.elasticsearch.search.builder
Classes in org.elasticsearch.search.builder that implement Rewriteable Modifier and Type Class Description classSearchSourceBuilderA search source builder allowing to easily build search source. -
Uses of Rewriteable in org.elasticsearch.search.fetch.subphase.highlight
Classes in org.elasticsearch.search.fetch.subphase.highlight that implement Rewriteable Modifier and Type Class Description classAbstractHighlighterBuilder<HB extends AbstractHighlighterBuilder<?>>This abstract class holds parameters shared byHighlightBuilderandHighlightBuilder.Fieldand provides the common setters, equality, hashCode calculation and common serializationclassHighlightBuilderA builder for search highlighting.static classHighlightBuilder.Field -
Uses of Rewriteable in org.elasticsearch.search.internal
Classes in org.elasticsearch.search.internal that implement Rewriteable Modifier and Type Class Description classAliasFilterRepresents aQueryBuilderand a list of alias names that filters the builder is composed of.Methods in org.elasticsearch.search.internal that return Rewriteable Modifier and Type Method Description Rewriteable<Rewriteable>ShardSearchRequest. getRewriteable()Methods in org.elasticsearch.search.internal that return types with arguments of type Rewriteable Modifier and Type Method Description Rewriteable<Rewriteable>ShardSearchRequest. getRewriteable() -
Uses of Rewriteable in org.elasticsearch.search.rescore
Classes in org.elasticsearch.search.rescore that implement Rewriteable Modifier and Type Class Description classQueryRescorerBuilderclassRescorerBuilder<RB extends RescorerBuilder<RB>>The abstract base builder for instances ofRescorerBuilder. -
Uses of Rewriteable in org.elasticsearch.search.sort
Classes in org.elasticsearch.search.sort that implement Rewriteable Modifier and Type Class Description classFieldSortBuilderA sort builder to sort based on a document field.classGeoDistanceSortBuilderA geo distance based sorting on a geo point like field.classScoreSortBuilderA sort builder allowing to sort by score.classScriptSortBuilderScript sort builder allows to sort based on a custom script expression.classSortBuilder<T extends SortBuilder<T>>
-