Class FieldSortDescriptor<T>
Inheritance
FieldSortDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class FieldSortDescriptor<T> : SortDescriptorBase<FieldSortDescriptor<T>, IFieldSort, T>, IDescriptor, IFieldSort, ISort where T : class
Type Parameters
Properties
|
Edit this page
View Source
SortKey
The field on which to sort
Declaration
protected override Field SortKey { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Field(Field)
Declaration
public virtual FieldSortDescriptor<T> Field(Field field)
Parameters
Type |
Name |
Description |
Field |
field |
|
Returns
|
Edit this page
View Source
Field<TValue>(Expression<Func<T, TValue>>)
Declaration
public virtual FieldSortDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
IgnoreUnmappedFields(bool?)
Declaration
public virtual FieldSortDescriptor<T> IgnoreUnmappedFields(bool? ignore = true)
Parameters
Type |
Name |
Description |
bool? |
ignore |
|
Returns
|
Edit this page
View Source
UnmappedType(FieldType?)
Declaration
public virtual FieldSortDescriptor<T> UnmappedType(FieldType? type)
Parameters
Returns
Implements
Extension Methods