Class NestedQueryDescriptor<T>
Inheritance
NestedQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class NestedQueryDescriptor<T> : QueryDescriptorBase<NestedQueryDescriptor<T>, INestedQuery>, IDescriptor, INestedQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
IgnoreUnmapped(bool?)
Declaration
public NestedQueryDescriptor<T> IgnoreUnmapped(bool? ignoreUnmapped = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreUnmapped |
|
Returns
|
Edit this page
View Source
InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits>)
Declaration
public NestedQueryDescriptor<T> InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits> selector = null)
Parameters
Returns
|
Edit this page
View Source
Path(Field)
Declaration
public NestedQueryDescriptor<T> Path(Field path)
Parameters
Type |
Name |
Description |
Field |
path |
|
Returns
|
Edit this page
View Source
Path<TValue>(Expression<Func<T, TValue>>)
Declaration
public NestedQueryDescriptor<T> Path<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Query(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public NestedQueryDescriptor<T> Query(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
Parameters
Returns
|
Edit this page
View Source
ScoreMode(NestedScoreMode?)
Declaration
public NestedQueryDescriptor<T> ScoreMode(NestedScoreMode? scoreMode)
Parameters
Returns
Implements
Extension Methods