Search Results for

    Show / Hide Table of Contents

    Class ScoreFunctionsDescriptor<T>

    Inheritance
    object
    DescriptorPromiseBase<ScoreFunctionsDescriptor<T>, IList<IScoreFunction>>
    ScoreFunctionsDescriptor<T>
    Implements
    IDescriptor
    IPromise<IList<IScoreFunction>>
    Inherited Members
    DescriptorPromiseBase<ScoreFunctionsDescriptor<T>, IList<IScoreFunction>>.Self
    DescriptorPromiseBase<ScoreFunctionsDescriptor<T>, IList<IScoreFunction>>.Assign(Action<IList<IScoreFunction>>)
    DescriptorPromiseBase<ScoreFunctionsDescriptor<T>, IList<IScoreFunction>>.Assign<TNewValue>(TNewValue, Action<IList<IScoreFunction>, TNewValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ScoreFunctionsDescriptor<T> : DescriptorPromiseBase<ScoreFunctionsDescriptor<T>, IList<IScoreFunction>>, IDescriptor, IPromise<IList<IScoreFunction>> where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    ScoreFunctionsDescriptor()

    Declaration
    public ScoreFunctionsDescriptor()

    Methods

    | Edit this page View Source

    Exponential(Func<ExponentialDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)

    Declaration
    public ScoreFunctionsDescriptor<T> Exponential(Func<ExponentialDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector)
    Parameters
    Type Name Description
    Func<ExponentialDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    ExponentialDate(Func<ExponentialDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)

    Declaration
    public ScoreFunctionsDescriptor<T> ExponentialDate(Func<ExponentialDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector)
    Parameters
    Type Name Description
    Func<ExponentialDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    ExponentialGeoLocation(Func<ExponentialDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)

    Declaration
    public ScoreFunctionsDescriptor<T> ExponentialGeoLocation(Func<ExponentialDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector)
    Parameters
    Type Name Description
    Func<ExponentialDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    FieldValueFactor(Func<FieldValueFactorFunctionDescriptor<T>, IFieldValueFactorFunction>)

    Declaration
    public ScoreFunctionsDescriptor<T> FieldValueFactor(Func<FieldValueFactorFunctionDescriptor<T>, IFieldValueFactorFunction> selector)
    Parameters
    Type Name Description
    Func<FieldValueFactorFunctionDescriptor<T>, IFieldValueFactorFunction> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    Gauss(Func<GaussDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)

    Declaration
    public ScoreFunctionsDescriptor<T> Gauss(Func<GaussDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector)
    Parameters
    Type Name Description
    Func<GaussDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    GaussDate(Func<GaussDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)

    Declaration
    public ScoreFunctionsDescriptor<T> GaussDate(Func<GaussDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector)
    Parameters
    Type Name Description
    Func<GaussDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    GaussGeoLocation(Func<GaussDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)

    Declaration
    public ScoreFunctionsDescriptor<T> GaussGeoLocation(Func<GaussDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector)
    Parameters
    Type Name Description
    Func<GaussDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    Linear(Func<LinearDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)

    Declaration
    public ScoreFunctionsDescriptor<T> Linear(Func<LinearDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector)
    Parameters
    Type Name Description
    Func<LinearDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    LinearDate(Func<LinearDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)

    Declaration
    public ScoreFunctionsDescriptor<T> LinearDate(Func<LinearDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector)
    Parameters
    Type Name Description
    Func<LinearDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    LinearGeoLocation(Func<LinearDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)

    Declaration
    public ScoreFunctionsDescriptor<T> LinearGeoLocation(Func<LinearDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector)
    Parameters
    Type Name Description
    Func<LinearDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    RandomScore(Func<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction>)

    Declaration
    public ScoreFunctionsDescriptor<T> RandomScore(Func<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction> selector = null)
    Parameters
    Type Name Description
    Func<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    ScriptScore(Func<ScriptScoreFunctionDescriptor<T>, IScriptScoreFunction>)

    Declaration
    public ScoreFunctionsDescriptor<T> ScriptScore(Func<ScriptScoreFunctionDescriptor<T>, IScriptScoreFunction> selector)
    Parameters
    Type Name Description
    Func<ScriptScoreFunctionDescriptor<T>, IScriptScoreFunction> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    Weight(double)

    Declaration
    public ScoreFunctionsDescriptor<T> Weight(double weight)
    Parameters
    Type Name Description
    double weight
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>
    | Edit this page View Source

    Weight(Func<WeightFunctionDescriptor<T>, IWeightFunction>)

    Declaration
    public ScoreFunctionsDescriptor<T> Weight(Func<WeightFunctionDescriptor<T>, IWeightFunction> selector)
    Parameters
    Type Name Description
    Func<WeightFunctionDescriptor<T>, IWeightFunction> selector
    Returns
    Type Description
    ScoreFunctionsDescriptor<T>

    Implements

    IDescriptor
    IPromise<TValue>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • ScoreFunctionsDescriptor()
    • Methods
      • Exponential(Func<ExponentialDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)
      • ExponentialDate(Func<ExponentialDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)
      • ExponentialGeoLocation(Func<ExponentialDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)
      • FieldValueFactor(Func<FieldValueFactorFunctionDescriptor<T>, IFieldValueFactorFunction>)
      • Gauss(Func<GaussDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)
      • GaussDate(Func<GaussDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)
      • GaussGeoLocation(Func<GaussDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)
      • Linear(Func<LinearDecayFunctionDescriptor<double?, double?, T>, IDecayFunction<double?, double?>>)
      • LinearDate(Func<LinearDecayFunctionDescriptor<DateMath, Time, T>, IDecayFunction<DateMath, Time>>)
      • LinearGeoLocation(Func<LinearDecayFunctionDescriptor<GeoLocation, Distance, T>, IDecayFunction<GeoLocation, Distance>>)
      • RandomScore(Func<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction>)
      • ScriptScore(Func<ScriptScoreFunctionDescriptor<T>, IScriptScoreFunction>)
      • Weight(double)
      • Weight(Func<WeightFunctionDescriptor<T>, IWeightFunction>)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX