Package org.opensearch.index.query
package org.opensearch.index.query
Query implementations
-
ClassDescriptionAbstractGeometryQueryBuilder<QB extends AbstractGeometryQueryBuilder<QB>>Base
QueryBuilder
that builds a Geometry Querylocal class that encapsulates xcontent parsed shape parametersAbstractQueryBuilder<QB extends AbstractQueryBuilder<QB>>Base class for all classes producing lucene queries.BaseTermQueryBuilder<QB extends BaseTermQueryBuilder<QB>>Base class for a TermQueryBuilderA Query that matches documents matching boolean combinations of other queries.The BoostingQuery class can be used to effectively demote results that match a given query.Deprecated.Since max_optimization optimization landed in 7.0, normal MatchQuery will achieve the same result without any configuration.A query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.A simple wrapper class that indicates that the wrapped query has made use of NOW when parsing its datemath.A 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.A query to boost scores based on their proximity to the given origin for date, date_nanos and geo_point field typesOrigin of a distance feature queryConstructs a query that only match on documents that the field has a value in them.Query builder for field masking span queryA Query that does fuzzy matching for a specific value.Creates a Lucene query that will filter for all documents that lie within the specified bounding box.Filter results of a query to include only those within a specific distance to some geo point.Specifies how a geo query should be run.Query builder for polygon queriesDerivedAbstractGeometryQueryBuilder
that builds a lat, lon GeoShape Query.This enum is used to determine how to deal with invalid geo coordinates in geo related queries: On STRICT validation invalid coordinates cause an exception to be thrown.A query that will return only documents matching specific ids (and a type).Query builder for inner hitsA builder forInnerHitsContext.InnerHitSubContext
Constructs an IntervalsSource based on analyzed textBase class for scripts used as interval filters, seeIntervalsSourceProvider.IntervalFilter
Factory to create a scriptInternal intervalMode for Text and Mapped Field TypesBuilder forIntervalQuery
Factory class forIntervalsSource
Built-in sources includeIntervalsSourceProvider.Match
, which analyzes a text string and converts it to a proximity source (phrase, ordered, unordered, unordered without overlaps depending on how strict the matching should be);IntervalsSourceProvider.Combine
, which allows proximity queries between different sub-sources; andIntervalsSourceProvider.Disjunction
.Combine intervalDisjunction intervalFuzzy intervalAn interval filterMatch intervalPrefix intervalRegular expression intervalWildcard intervalDeprecated.this will be removed in a future releaseA query that matches on all documents.The 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 queryA query that matches no document.Match query is a query that analyzes the text and constructs a phrase prefix query as the result of the analysis.Match query is a query that analyzes the text and constructs a phrase query as the result of the analysis.Match query is a query that analyzes the text and constructs a query as the result of the analysis.A more like this query that finds documents that are "like" the provided set of document(s).A single item to be used for aMoreLikeThisQueryBuilder
.Same asMatchQueryBuilder
but supports multiple fields.Type of the matchBase interface for multi term queriesQuery builder for nested queriesBoolean operatorsThe result of parsing a query.A Query that matches documents containing terms with a specified prefix.Foundation class for all OpenSearch query buildersUtility class to create search queries.QueryParser<QB extends QueryBuilder>Defines a query parser that is able to parseQueryBuilder
s fromXContent
.Context object used to rewriteQueryBuilder
instances into simplified version.Context object used to create lucene queries on the shard level.Exception that is thrown when creating lucene queries on the shardA query that parses a query string and runs it.This exception can be used to indicate various reasons why validation of a query has failed.A Query that matches documents within an range of terms.Regular expression syntax flags.A Query that does fuzzy matching for a specific value.Rewriteable<T>A basic interface for rewriteable classes.Query builder for script queriesA predicate that checks whether an index pattern matches the current search shard target.SimpleQuery is a query parser that acts similar to a query_string query, but won't throw exceptions for any weird string syntax.Flags for the XSimpleQueryString parserBuilder forSpanContainingQuery
.Query builder for span_first queriesQuery that allows wrapping aMultiTermQueryBuilder
(one of wildcard, fuzzy, prefix, term, range or regexp query) as aSpanQueryBuilder
so it can be nested.Matches spans which are near one another.SpanGapQueryBuilder enables gaps in a SpanNearQuery.Query builder for span_not queriesSpan query that matches the union of its clauses.Marker interface for a specific type ofQueryBuilder
that allows to build span queries.Utility for span query buildersA Span Query that matches documents containing a term.Builder forSpanWithinQuery
.A Query that matches documents containing a term.A filter for a field based on several terms matching on any of them.Query builder for terms_set queriesQuery processor for lucene 6 LatLonPoint queriesQuery processor for Lucene 6 LatLonShape queriesImplements the wildcard search query.A Query builder which allows building a query given JSON string or binary data provided as input.