Search Results for

    Show / Hide Table of Contents

    Class RandomScoreFunctionDescriptor<T>

    Inheritance
    object
    DescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction>
    FunctionScoreFunctionDescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction, T>
    RandomScoreFunctionDescriptor<T>
    Implements
    IDescriptor
    IRandomScoreFunction
    IScoreFunction
    Inherited Members
    FunctionScoreFunctionDescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction, T>.Filter(Func<QueryContainerDescriptor<T>, QueryContainer>)
    FunctionScoreFunctionDescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction, T>.Weight(double?)
    DescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction>.Self
    DescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction>.Assign<TValue>(TValue, Action<IRandomScoreFunction, TValue>)
    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 RandomScoreFunctionDescriptor<T> : FunctionScoreFunctionDescriptorBase<RandomScoreFunctionDescriptor<T>, IRandomScoreFunction, T>, IDescriptor, IRandomScoreFunction, IScoreFunction where T : class
    Type Parameters
    Name Description
    T

    Methods

    | Edit this page View Source

    Field(Field)

    Declaration
    public RandomScoreFunctionDescriptor<T> Field(Field field)
    Parameters
    Type Name Description
    Field field
    Returns
    Type Description
    RandomScoreFunctionDescriptor<T>
    | Edit this page View Source

    Field<TValue>(Expression<Func<T, TValue>>)

    Declaration
    public RandomScoreFunctionDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> objectPath
    Returns
    Type Description
    RandomScoreFunctionDescriptor<T>
    Type Parameters
    Name Description
    TValue
    | Edit this page View Source

    Seed(long?)

    Declaration
    public RandomScoreFunctionDescriptor<T> Seed(long? seed)
    Parameters
    Type Name Description
    long? seed
    Returns
    Type Description
    RandomScoreFunctionDescriptor<T>
    | Edit this page View Source

    Seed(string)

    Declaration
    public RandomScoreFunctionDescriptor<T> Seed(string seed)
    Parameters
    Type Name Description
    string seed
    Returns
    Type Description
    RandomScoreFunctionDescriptor<T>

    Implements

    IDescriptor
    IRandomScoreFunction
    IScoreFunction

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • Field(Field)
      • Field<TValue>(Expression<Func<T, TValue>>)
      • Seed(long?)
      • Seed(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX