Class SortDefinitionExtensions
Extension methods for SortDefinition.
public static class SortDefinitionExtensions
- Inheritance
-
SortDefinitionExtensions
- Inherited Members
Methods
- Ascending<TDocument>(SortDefinition<TDocument>, FieldDefinition<TDocument>)
Combines an existing sort with an ascending field.
- Ascending<TDocument>(SortDefinition<TDocument>, Expression<Func<TDocument, object>>)
Combines an existing sort with an ascending field.
- Descending<TDocument>(SortDefinition<TDocument>, FieldDefinition<TDocument>)
Combines an existing sort with an descending field.
- Descending<TDocument>(SortDefinition<TDocument>, Expression<Func<TDocument, object>>)
Combines an existing sort with an descending field.
- MetaSearchScoreAscending<TDocument>(SortDefinition<TDocument>)
Creates a ascending sort on the computed relevance score of atlas search.
- MetaSearchScoreDescending<TDocument>(SortDefinition<TDocument>)
Creates a descending sort on the computed relevance score of atlas search.
- MetaTextScore<TDocument>(SortDefinition<TDocument>, string)
Combines an existing sort with a descending sort on the computed relevance score of a text search. The field name should be the name of the projected relevance score field.