Interface IQueryContainer
Assembly: OpenSearch.Client.dll
Syntax
public interface IQueryContainer
Properties
|
Edit this page
View Source
Bool
Declaration
[DataMember(Name = "bool")]
IBoolQuery Bool { get; set; }
Property Value
|
Edit this page
View Source
Boosting
Declaration
[DataMember(Name = "boosting")]
IBoostingQuery Boosting { get; set; }
Property Value
|
Edit this page
View Source
ConstantScore
Declaration
[DataMember(Name = "constant_score")]
IConstantScoreQuery ConstantScore { get; set; }
Property Value
|
Edit this page
View Source
DisMax
Declaration
[DataMember(Name = "dis_max")]
IDisMaxQuery DisMax { get; set; }
Property Value
|
Edit this page
View Source
DistanceFeature
Boosts the relevance score of documents closer to a provided origin date or point. For example, you can use this query to give
more weight to documents closer to a certain date or location.
You can use the distance_feature query to find the nearest neighbors to a location. You can also use the query in a bool
search’s should filter to add boosted relevance scores to the bool query’s scores.
Declaration
[DataMember(Name = "distance_feature")]
IDistanceFeatureQuery DistanceFeature { get; set; }
Property Value
|
Edit this page
View Source
Exists
Declaration
[DataMember(Name = "exists")]
IExistsQuery Exists { get; set; }
Property Value
|
Edit this page
View Source
FunctionScore
Declaration
[DataMember(Name = "function_score")]
IFunctionScoreQuery FunctionScore { get; set; }
Property Value
|
Edit this page
View Source
Fuzzy
Declaration
[DataMember(Name = "fuzzy")]
IFuzzyQuery Fuzzy { get; set; }
Property Value
|
Edit this page
View Source
GeoBoundingBox
Declaration
[DataMember(Name = "geo_bounding_box")]
IGeoBoundingBoxQuery GeoBoundingBox { get; set; }
Property Value
|
Edit this page
View Source
GeoDistance
Declaration
[DataMember(Name = "geo_distance")]
IGeoDistanceQuery GeoDistance { get; set; }
Property Value
|
Edit this page
View Source
GeoPolygon
Declaration
[DataMember(Name = "geo_polygon")]
IGeoPolygonQuery GeoPolygon { get; set; }
Property Value
|
Edit this page
View Source
GeoShape
Declaration
[DataMember(Name = "geo_shape")]
IGeoShapeQuery GeoShape { get; set; }
Property Value
|
Edit this page
View Source
HasChild
Declaration
[DataMember(Name = "has_child")]
IHasChildQuery HasChild { get; set; }
Property Value
|
Edit this page
View Source
HasParent
Declaration
[DataMember(Name = "has_parent")]
IHasParentQuery HasParent { get; set; }
Property Value
|
Edit this page
View Source
Ids
Declaration
[DataMember(Name = "ids")]
IIdsQuery Ids { get; set; }
Property Value
|
Edit this page
View Source
Intervals
Declaration
[DataMember(Name = "intervals")]
IIntervalsQuery Intervals { get; set; }
Property Value
|
Edit this page
View Source
IsConditionless
Declaration
[IgnoreDataMember]
bool IsConditionless { get; }
Property Value
|
Edit this page
View Source
IsStrict
Declaration
[IgnoreDataMember]
bool IsStrict { get; set; }
Property Value
|
Edit this page
View Source
IsVerbatim
Declaration
[IgnoreDataMember]
bool IsVerbatim { get; set; }
Property Value
|
Edit this page
View Source
IsWritable
Declaration
[IgnoreDataMember]
bool IsWritable { get; }
Property Value
|
Edit this page
View Source
Knn
Declaration
[DataMember(Name = "knn")]
IKnnQuery Knn { get; set; }
Property Value
|
Edit this page
View Source
Match
Declaration
[DataMember(Name = "match")]
IMatchQuery Match { get; set; }
Property Value
|
Edit this page
View Source
MatchAll
Declaration
[DataMember(Name = "match_all")]
IMatchAllQuery MatchAll { get; set; }
Property Value
|
Edit this page
View Source
MatchBoolPrefix
Declaration
[DataMember(Name = "match_bool_prefix")]
IMatchBoolPrefixQuery MatchBoolPrefix { get; set; }
Property Value
|
Edit this page
View Source
MatchNone
Declaration
[DataMember(Name = "match_none")]
IMatchNoneQuery MatchNone { get; set; }
Property Value
|
Edit this page
View Source
MatchPhrase
Declaration
[DataMember(Name = "match_phrase")]
IMatchPhraseQuery MatchPhrase { get; set; }
Property Value
|
Edit this page
View Source
MatchPhrasePrefix
Declaration
[DataMember(Name = "match_phrase_prefix")]
IMatchPhrasePrefixQuery MatchPhrasePrefix { get; set; }
Property Value
|
Edit this page
View Source
MoreLikeThis
Declaration
[DataMember(Name = "more_like_this")]
IMoreLikeThisQuery MoreLikeThis { get; set; }
Property Value
|
Edit this page
View Source
MultiMatch
Declaration
[DataMember(Name = "multi_match")]
IMultiMatchQuery MultiMatch { get; set; }
Property Value
|
Edit this page
View Source
Nested
Declaration
[DataMember(Name = "nested")]
INestedQuery Nested { get; set; }
Property Value
|
Edit this page
View Source
Neural
Declaration
[DataMember(Name = "neural")]
INeuralQuery Neural { get; set; }
Property Value
|
Edit this page
View Source
ParentId
Declaration
[DataMember(Name = "parent_id")]
IParentIdQuery ParentId { get; set; }
Property Value
|
Edit this page
View Source
Percolate
Declaration
[DataMember(Name = "percolate")]
IPercolateQuery Percolate { get; set; }
Property Value
|
Edit this page
View Source
Prefix
Declaration
[DataMember(Name = "prefix")]
IPrefixQuery Prefix { get; set; }
Property Value
|
Edit this page
View Source
QueryString
Declaration
[DataMember(Name = "query_string")]
IQueryStringQuery QueryString { get; set; }
Property Value
|
Edit this page
View Source
Range
Declaration
[DataMember(Name = "range")]
IRangeQuery Range { get; set; }
Property Value
|
Edit this page
View Source
RankFeature
A query that only works on rank_feature fields and rank_features fields. Its goal is to boost the score of documents
based on the values of numeric features. It is typically put in a should clause of a bool query so that its score
is added to the score of the query.
Compared to using function_score or other ways to modify the score, this query has the benefit of being able to efficiently
skip non-competitive hits when track_total_hits is not set to true. Speedups may be spectacular.
Declaration
[DataMember(Name = "rank_feature")]
IRankFeatureQuery RankFeature { get; set; }
Property Value
|
Edit this page
View Source
RawQuery
Declaration
[IgnoreDataMember]
IRawQuery RawQuery { get; set; }
Property Value
|
Edit this page
View Source
Regexp
Declaration
[DataMember(Name = "regexp")]
IRegexpQuery Regexp { get; set; }
Property Value
|
Edit this page
View Source
Script
Declaration
[DataMember(Name = "script")]
IScriptQuery Script { get; set; }
Property Value
|
Edit this page
View Source
ScriptScore
A query allowing you to modify the score of documents that are retrieved by a query.
This can be useful if, for example, a score function is computationally expensive and it is sufficient to
compute the score on a filtered set of documents.
Declaration
[DataMember(Name = "script_score")]
IScriptScoreQuery ScriptScore { get; set; }
Property Value
|
Edit this page
View Source
Shape
Declaration
[DataMember(Name = "shape")]
IShapeQuery Shape { get; set; }
Property Value
|
Edit this page
View Source
SimpleQueryString
Declaration
[DataMember(Name = "simple_query_string")]
ISimpleQueryStringQuery SimpleQueryString { get; set; }
Property Value
|
Edit this page
View Source
SpanContaining
Declaration
[DataMember(Name = "span_containing")]
ISpanContainingQuery SpanContaining { get; set; }
Property Value
|
Edit this page
View Source
SpanFieldMasking
Declaration
[DataMember(Name = "field_masking_span")]
ISpanFieldMaskingQuery SpanFieldMasking { get; set; }
Property Value
|
Edit this page
View Source
SpanFirst
Declaration
[DataMember(Name = "span_first")]
ISpanFirstQuery SpanFirst { get; set; }
Property Value
|
Edit this page
View Source
SpanMultiTerm
Declaration
[DataMember(Name = "span_multi")]
ISpanMultiTermQuery SpanMultiTerm { get; set; }
Property Value
|
Edit this page
View Source
SpanNear
Declaration
[DataMember(Name = "span_near")]
ISpanNearQuery SpanNear { get; set; }
Property Value
|
Edit this page
View Source
SpanNot
Declaration
[DataMember(Name = "span_not")]
ISpanNotQuery SpanNot { get; set; }
Property Value
|
Edit this page
View Source
SpanOr
Declaration
[DataMember(Name = "span_or")]
ISpanOrQuery SpanOr { get; set; }
Property Value
|
Edit this page
View Source
SpanTerm
Declaration
[DataMember(Name = "span_term")]
ISpanTermQuery SpanTerm { get; set; }
Property Value
|
Edit this page
View Source
SpanWithin
Declaration
[DataMember(Name = "span_within")]
ISpanWithinQuery SpanWithin { get; set; }
Property Value
|
Edit this page
View Source
Term
Declaration
[DataMember(Name = "term")]
ITermQuery Term { get; set; }
Property Value
|
Edit this page
View Source
Terms
Declaration
[DataMember(Name = "terms")]
ITermsQuery Terms { get; set; }
Property Value
|
Edit this page
View Source
TermsSet
Declaration
[DataMember(Name = "terms_set")]
ITermsSetQuery TermsSet { get; set; }
Property Value
|
Edit this page
View Source
Wildcard
Declaration
[DataMember(Name = "wildcard")]
IWildcardQuery Wildcard { get; set; }
Property Value
Methods
|
Edit this page
View Source
Accept(IQueryVisitor)
Declaration
void Accept(IQueryVisitor visitor)
Parameters
Extension Methods