Class DecayFunctionDescriptorBase<TDescriptor, TOrigin, TScale, T>
Inheritance
DecayFunctionDescriptorBase<TDescriptor, TOrigin, TScale, T>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class DecayFunctionDescriptorBase<TDescriptor, TOrigin, TScale, T> : FunctionScoreFunctionDescriptorBase<TDescriptor, IDecayFunction<TOrigin, TScale>, T>, IDescriptor, IDecayFunction<TOrigin, TScale>, IDecayFunction, IScoreFunction where TDescriptor : DecayFunctionDescriptorBase<TDescriptor, TOrigin, TScale, T>, IDecayFunction<TOrigin, TScale> where T : class
Type Parameters
Name |
Description |
TDescriptor |
|
TOrigin |
|
TScale |
|
T |
|
Properties
|
Edit this page
View Source
DecayType
Declaration
protected abstract string DecayType { get; }
Property Value
Methods
|
Edit this page
View Source
Decay(double?)
Declaration
public TDescriptor Decay(double? decay)
Parameters
Type |
Name |
Description |
double? |
decay |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Field(Field)
Declaration
public TDescriptor Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public TDescriptor Field<TValue>(Expression<Func<T, TValue>> field)
Parameters
Returns
Type |
Description |
TDescriptor |
|
Type Parameters
|
Edit this page
View Source
MultiValueMode(MultiValueMode?)
Declaration
public TDescriptor MultiValueMode(MultiValueMode? mode)
Parameters
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Offset(TScale)
Declaration
public TDescriptor Offset(TScale offset)
Parameters
Type |
Name |
Description |
TScale |
offset |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Origin(TOrigin)
Declaration
public TDescriptor Origin(TOrigin origin)
Parameters
Type |
Name |
Description |
TOrigin |
origin |
|
Returns
Type |
Description |
TDescriptor |
|
|
Edit this page
View Source
Scale(TScale)
Declaration
public TDescriptor Scale(TScale scale)
Parameters
Type |
Name |
Description |
TScale |
scale |
|
Returns
Type |
Description |
TDescriptor |
|
Implements
Extension Methods