Class Field
Assembly: OpenSearch.Client.dll
Syntax
public class Field : IEquatable<Field>, IUrlParameter
Constructors
|
Edit this page
View Source
Field(Expression, double?, string)
Declaration
public Field(Expression expression, double? boost = null, string format = null)
Parameters
|
Edit this page
View Source
Field(PropertyInfo, double?, string)
Declaration
public Field(PropertyInfo property, double? boost = null, string format = null)
Parameters
|
Edit this page
View Source
Field(string, double?, string)
Declaration
public Field(string name, double? boost = null, string format = null)
Parameters
Properties
|
Edit this page
View Source
Boost
A boost to apply to the field
Declaration
public double? Boost { get; set; }
Property Value
|
Edit this page
View Source
CachableExpression
Declaration
public bool CachableExpression { get; }
Property Value
|
Edit this page
View Source
Expression
An expression from which the name of the field can be inferred
Declaration
public Expression Expression { get; }
Property Value
|
Edit this page
View Source
A format to apply to the field.
Declaration
public string Format { get; set; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
Property
A property from which the name of the field can be inferred
Declaration
public PropertyInfo Property { get; }
Property Value
Methods
|
Edit this page
View Source
And(Field)
Declaration
public Fields And(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
And(PropertyInfo, double?, string)
Declaration
public Fields And(PropertyInfo property, double? boost = null, string format = null)
Parameters
Returns
|
Edit this page
View Source
And(string, double?, string)
Declaration
public Fields And(string field, double? boost = null, string format = null)
Parameters
Returns
|
Edit this page
View Source
And<T>(Expression<Func<T, object>>, double?, string)
Declaration
public Fields And<T>(Expression<Func<T, object>> field, double? boost = null, string format = null) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
And<T, TValue>(Expression<Func<T, TValue>>, double?, string)
Declaration
public Fields And<T, TValue>(Expression<Func<T, TValue>> field, double? boost = null, string format = null) where T : class
Parameters
Returns
Type Parameters
Name |
Description |
T |
|
TValue |
|
|
Edit this page
View Source
Equals(Field)
Declaration
public bool Equals(Field other)
Parameters
Type |
Name |
Description |
Field |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(Field, Field)
Declaration
public static bool operator ==(Field x, Field y)
Parameters
Returns
|
Edit this page
View Source
implicit operator Field(Expression)
Declaration
public static implicit operator Field(Expression expression)
Parameters
Returns
|
Edit this page
View Source
implicit operator Field(PropertyInfo)
Declaration
public static implicit operator Field(PropertyInfo property)
Parameters
Returns
|
Edit this page
View Source
implicit operator Field(string)
Declaration
public static implicit operator Field(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
|
Edit this page
View Source
operator !=(Field, Field)
Declaration
public static bool operator !=(Field x, Field y)
Parameters
Returns
Implements
Extension Methods