Class HasChildQueryDescriptor<T>
Inheritance
HasChildQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class HasChildQueryDescriptor<T> : QueryDescriptorBase<HasChildQueryDescriptor<T>, IHasChildQuery>, IDescriptor, IHasChildQuery, IQuery where T : class
Type Parameters
Constructors
|
Edit this page
View Source
HasChildQueryDescriptor()
Declaration
public HasChildQueryDescriptor()
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 HasChildQueryDescriptor<T> IgnoreUnmapped(bool? ignoreUnmapped = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreUnmapped |
|
Returns
|
Edit this page
View Source
InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits>)
Declaration
public HasChildQueryDescriptor<T> InnerHits(Func<InnerHitsDescriptor<T>, IInnerHits> selector = null)
Parameters
Returns
|
Edit this page
View Source
MaxChildren(int?)
Specify how many child documents are allowed to match.
Declaration
public HasChildQueryDescriptor<T> MaxChildren(int? maxChildren)
Parameters
Type |
Name |
Description |
int? |
maxChildren |
|
Returns
|
Edit this page
View Source
MinChildren(int?)
Declaration
public HasChildQueryDescriptor<T> MinChildren(int? minChildren)
Parameters
Type |
Name |
Description |
int? |
minChildren |
|
Returns
|
Edit this page
View Source
Query(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public HasChildQueryDescriptor<T> Query(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
Parameters
Returns
|
Edit this page
View Source
ScoreMode(ChildScoreMode?)
Declaration
public HasChildQueryDescriptor<T> ScoreMode(ChildScoreMode? scoreMode)
Parameters
Returns
|
Edit this page
View Source
Type(string)
Declaration
public HasChildQueryDescriptor<T> Type(string type)
Parameters
Type |
Name |
Description |
string |
type |
|
Returns
Implements
Extension Methods