Class RandomScoreFunctionDescriptor<T>
Inheritance
RandomScoreFunctionDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class RandomScoreFunctionDescriptor<T> : FunctionScoreFunctionDescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction, T>, IDescriptor, IRandomScoreFunction, IScoreFunction where T : class
Type Parameters
Methods
|
Edit this page
View Source
Field(Field)
Declaration
public RandomScoreFunctionDescriptor<T> Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public RandomScoreFunctionDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
Seed(long?)
Declaration
public RandomScoreFunctionDescriptor<T> Seed(long? seed)
Parameters
Type |
Name |
Description |
long? |
seed |
|
Returns
|
Edit this page
View Source
Seed(string)
Declaration
public RandomScoreFunctionDescriptor<T> Seed(string seed)
Parameters
Type |
Name |
Description |
string |
seed |
|
Returns
Implements
Extension Methods