Search Results for

    Show / Hide Table of Contents

    Class Infer

    Inheritance
    object
    Infer
    Inherited Members
    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 static class Infer

    Fields

    | Edit this page View Source

    AllIndices

    Declaration
    public static readonly Indices AllIndices
    Field Value
    Type Description
    Indices

    Methods

    | Edit this page View Source

    Field(PropertyInfo, double?, string)

    Declaration
    public static Field Field(PropertyInfo property, double? boost = null, string format = null)
    Parameters
    Type Name Description
    PropertyInfo property
    double? boost
    string format
    Returns
    Type Description
    Field
    | Edit this page View Source

    Field(string, double?, string)

    Declaration
    public static Field Field(string field, double? boost = null, string format = null)
    Parameters
    Type Name Description
    string field
    double? boost
    string format
    Returns
    Type Description
    Field
    | Edit this page View Source

    Field<T>(Expression<Func<T, object>>, double?, string)

    Create a strongly typed string field name representation of the path to a property

    e.g. p => p.Array.First().SubProperty.Field will return 'array.subProperty.field'

    Declaration
    public static Field Field<T>(Expression<Func<T, object>> path, double? boost = null, string format = null) where T : class
    Parameters
    Type Name Description
    Expression<Func<T, object>> path
    double? boost
    string format
    Returns
    Type Description
    Field
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Field<T, TValue>(Expression<Func<T, TValue>>, double?, string)

    Create a strongly typed string field name representation of the path to a property

    e.g. p => p.Array.First().SubProperty.Field will return 'array.subProperty.field'

    Declaration
    public static Field Field<T, TValue>(Expression<Func<T, TValue>> path, double? boost = null, string format = null) where T : class
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> path
    double? boost
    string format
    Returns
    Type Description
    Field
    Type Parameters
    Name Description
    T
    TValue
    | Edit this page View Source

    Fields(params PropertyInfo[])

    Declaration
    public static Fields Fields(params PropertyInfo[] properties)
    Parameters
    Type Name Description
    PropertyInfo[] properties
    Returns
    Type Description
    Fields
    | Edit this page View Source

    Fields(params string[])

    Declaration
    public static Fields Fields(params string[] fields)
    Parameters
    Type Name Description
    string[] fields
    Returns
    Type Description
    Fields
    | Edit this page View Source

    Fields<T>(params Expression<Func<T, object>>[])

    Declaration
    public static Fields Fields<T>(params Expression<Func<T, object>>[] fields) where T : class
    Parameters
    Type Name Description
    Expression<Func<T, object>>[] fields
    Returns
    Type Description
    Fields
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Id<T>(T)

    Declaration
    public static Id Id<T>(T document) where T : class
    Parameters
    Type Name Description
    T document
    Returns
    Type Description
    Id
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Index(IndexName)

    Declaration
    public static IndexName Index(IndexName index)
    Parameters
    Type Name Description
    IndexName index
    Returns
    Type Description
    IndexName
    | Edit this page View Source

    Index<T>()

    Declaration
    public static IndexName Index<T>()
    Returns
    Type Description
    IndexName
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Index<T>(string)

    Declaration
    public static IndexName Index<T>(string clusterName)
    Parameters
    Type Name Description
    string clusterName
    Returns
    Type Description
    IndexName
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Indices(params IndexName[])

    Declaration
    public static Indices Indices(params IndexName[] indices)
    Parameters
    Type Name Description
    IndexName[] indices
    Returns
    Type Description
    Indices
    | Edit this page View Source

    Indices(IEnumerable<IndexName>)

    Declaration
    public static Indices Indices(IEnumerable<IndexName> indices)
    Parameters
    Type Name Description
    IEnumerable<IndexName> indices
    Returns
    Type Description
    Indices
    | Edit this page View Source

    Indices<T>()

    Declaration
    public static Indices Indices<T>()
    Returns
    Type Description
    Indices
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Names(IEnumerable<string>)

    Declaration
    public static Names Names(IEnumerable<string> names)
    Parameters
    Type Name Description
    IEnumerable<string> names
    Returns
    Type Description
    Names
    | Edit this page View Source

    Names(params string[])

    Declaration
    public static Names Names(params string[] names)
    Parameters
    Type Name Description
    string[] names
    Returns
    Type Description
    Names
    | Edit this page View Source

    Property(string)

    Declaration
    public static PropertyName Property(string property)
    Parameters
    Type Name Description
    string property
    Returns
    Type Description
    PropertyName
    | Edit this page View Source

    Property<T>(Expression<Func<T, object>>)

    Declaration
    public static PropertyName Property<T>(Expression<Func<T, object>> path) where T : class
    Parameters
    Type Name Description
    Expression<Func<T, object>> path
    Returns
    Type Description
    PropertyName
    Type Parameters
    Name Description
    T
    | Edit this page View Source

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

    Declaration
    public static PropertyName Property<T, TValue>(Expression<Func<T, TValue>> path) where T : class
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> path
    Returns
    Type Description
    PropertyName
    Type Parameters
    Name Description
    T
    TValue
    | Edit this page View Source

    Relation(string)

    Declaration
    public static RelationName Relation(string type)
    Parameters
    Type Name Description
    string type
    Returns
    Type Description
    RelationName
    | Edit this page View Source

    Relation(Type)

    Declaration
    public static RelationName Relation(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    RelationName
    | Edit this page View Source

    Relation<T>()

    Declaration
    public static RelationName Relation<T>()
    Returns
    Type Description
    RelationName
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Route<T>(T)

    Declaration
    public static Routing Route<T>(T instance) where T : class
    Parameters
    Type Name Description
    T instance
    Returns
    Type Description
    Routing
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    • Fields
      • AllIndices
    • Methods
      • Field(PropertyInfo, double?, string)
      • Field(string, double?, string)
      • Field<T>(Expression<Func<T, object>>, double?, string)
      • Field<T, TValue>(Expression<Func<T, TValue>>, double?, string)
      • Fields(params PropertyInfo[])
      • Fields(params string[])
      • Fields<T>(params Expression<Func<T, object>>[])
      • Id<T>(T)
      • Index(IndexName)
      • Index<T>()
      • Index<T>(string)
      • Indices(params IndexName[])
      • Indices(IEnumerable<IndexName>)
      • Indices<T>()
      • Names(IEnumerable<string>)
      • Names(params string[])
      • Property(string)
      • Property<T>(Expression<Func<T, object>>)
      • Property<T, TValue>(Expression<Func<T, TValue>>)
      • Relation(string)
      • Relation(Type)
      • Relation<T>()
      • Route<T>(T)
    Back to top Generated by DocFX