Class FunctionScoreQueryDescriptor<T>
Inheritance
FunctionScoreQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class FunctionScoreQueryDescriptor<T> : QueryDescriptorBase<FunctionScoreQueryDescriptor<T>, IFunctionScoreQuery>, IDescriptor, IFunctionScoreQuery, 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
BoostMode(FunctionBoostMode?)
Declaration
public FunctionScoreQueryDescriptor<T> BoostMode(FunctionBoostMode? mode)
Parameters
Returns
|
Edit this page
View Source
ConditionlessWhen(bool)
Declaration
public FunctionScoreQueryDescriptor<T> ConditionlessWhen(bool isConditionless)
Parameters
Type |
Name |
Description |
bool |
isConditionless |
|
Returns
|
Edit this page
View Source
Functions(IEnumerable<IScoreFunction>)
Declaration
public FunctionScoreQueryDescriptor<T> Functions(IEnumerable<IScoreFunction> functions)
Parameters
Returns
|
Edit this page
View Source
Functions(Func<ScoreFunctionsDescriptor<T>, IPromise<IList<IScoreFunction>>>)
Declaration
public FunctionScoreQueryDescriptor<T> Functions(Func<ScoreFunctionsDescriptor<T>, IPromise<IList<IScoreFunction>>> functions)
Parameters
Returns
|
Edit this page
View Source
MaxBoost(double?)
Declaration
public FunctionScoreQueryDescriptor<T> MaxBoost(double? maxBoost)
Parameters
Type |
Name |
Description |
double? |
maxBoost |
|
Returns
|
Edit this page
View Source
MinScore(double?)
Declaration
public FunctionScoreQueryDescriptor<T> MinScore(double? minScore)
Parameters
Type |
Name |
Description |
double? |
minScore |
|
Returns
|
Edit this page
View Source
Query(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public FunctionScoreQueryDescriptor<T> Query(Func<QueryContainerDescriptor<T>, QueryContainer> selector)
Parameters
Returns
|
Edit this page
View Source
ScoreMode(FunctionScoreMode?)
Declaration
public FunctionScoreQueryDescriptor<T> ScoreMode(FunctionScoreMode? mode)
Parameters
Returns
Implements
Extension Methods