Class BoostingQueryDescriptor<T>
Inheritance
BoostingQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class BoostingQueryDescriptor<T> : QueryDescriptorBase<BoostingQueryDescriptor<T>, IBoostingQuery>, IDescriptor, IBoostingQuery, 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
Negative(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public BoostingQueryDescriptor<T> Negative(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
Parameters
Returns
|
Edit this page
View Source
NegativeBoost(double?)
Declaration
public BoostingQueryDescriptor<T> NegativeBoost(double? boost)
Parameters
Type |
Name |
Description |
double? |
boost |
|
Returns
|
Edit this page
View Source
Positive(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public BoostingQueryDescriptor<T> Positive(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
Parameters
Returns
Implements
Extension Methods