Class Infer
Assembly: OpenSearch.Client.dll
Syntax
public static class Infer
Fields
|
Edit this page
View Source
AllIndices
Declaration
public static readonly Indices AllIndices
Field Value
Methods
|
Edit this page
View Source
Field(PropertyInfo, double?, string)
Declaration
public static Field Field(PropertyInfo property, double? boost = null, string format = null)
Parameters
Returns
|
Edit this page
View Source
Field(string, double?, string)
Declaration
public static Field Field(string field, double? boost = null, string format = null)
Parameters
Returns
|
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
Returns
Type Parameters
|
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
Returns
Type Parameters
Name |
Description |
T |
|
TValue |
|
|
Edit this page
View Source
Fields(params PropertyInfo[])
Declaration
public static Fields Fields(params PropertyInfo[] properties)
Parameters
Returns
|
Edit this page
View Source
Fields(params string[])
Declaration
public static Fields Fields(params string[] fields)
Parameters
Type |
Name |
Description |
string[] |
fields |
|
Returns
|
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
Returns
Type Parameters
|
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 Parameters
|
Edit this page
View Source
Index(IndexName)
Declaration
public static IndexName Index(IndexName index)
Parameters
Returns
|
Edit this page
View Source
Index<T>()
Declaration
public static IndexName Index<T>()
Returns
Type Parameters
|
Edit this page
View Source
Index<T>(string)
Declaration
public static IndexName Index<T>(string clusterName)
Parameters
Type |
Name |
Description |
string |
clusterName |
|
Returns
Type Parameters
|
Edit this page
View Source
Indices(params IndexName[])
Declaration
public static Indices Indices(params IndexName[] indices)
Parameters
Returns
|
Edit this page
View Source
Indices(IEnumerable<IndexName>)
Declaration
public static Indices Indices(IEnumerable<IndexName> indices)
Parameters
Returns
|
Edit this page
View Source
Indices<T>()
Declaration
public static Indices Indices<T>()
Returns
Type Parameters
|
Edit this page
View Source
Names(IEnumerable<string>)
Declaration
public static Names Names(IEnumerable<string> names)
Parameters
Returns
|
Edit this page
View Source
Names(params string[])
Declaration
public static Names Names(params string[] names)
Parameters
Type |
Name |
Description |
string[] |
names |
|
Returns
|
Edit this page
View Source
Property(string)
Declaration
public static PropertyName Property(string property)
Parameters
Type |
Name |
Description |
string |
property |
|
Returns
|
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
Returns
Type Parameters
|
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
Returns
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
|
Edit this page
View Source
Relation(Type)
Declaration
public static RelationName Relation(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
|
Edit this page
View Source
Relation<T>()
Declaration
public static RelationName Relation<T>()
Returns
Type Parameters
|
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 Parameters