Class FunctionScoreFunctionDescriptorBase<TDescriptor, TInterface, T>
Inheritance
FunctionScoreFunctionDescriptorBase<TDescriptor, TInterface, T>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class FunctionScoreFunctionDescriptorBase<TDescriptor, TInterface, T> : DescriptorBase<TDescriptor, TInterface>, IDescriptor, IScoreFunction where TDescriptor : FunctionScoreFunctionDescriptorBase<TDescriptor, TInterface, T>, TInterface, IScoreFunction where TInterface : class, IScoreFunction where T : class
Type Parameters
Name |
Description |
TDescriptor |
|
TInterface |
|
T |
|
Methods
|
Edit this page
View Source
Filter(Func<QueryContainerDescriptor<T>, QueryContainer>)
Declaration
public TDescriptor Filter(Func<QueryContainerDescriptor<T>, QueryContainer> filterSelector)
Parameters
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Weight(double?)
Declaration
public TDescriptor Weight(double? weight)
Parameters
Type |
Name |
Description |
double? |
weight |
|
Returns
Type |
Description |
TDescriptor |
|
Implements
Extension Methods