Указатель на сортированный список документов для поиска.
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
public interface IDocumentFindSortedCursor<TDocument, TProjection> : IDocumentFindCursor<TDocument, TProjection>, IDocumentCursor<TProjection>
Type Parameters
Name |
Description |
TDocument |
|
TProjection |
|
Methods
|
Improve this Doc
View Source
Сортирует документы по возрастанию указанного свойства.
Declaration
IDocumentFindSortedCursor<TDocument, TProjection> ThenBy(Expression<Func<TDocument, object>> property)
Parameters
Type |
Name |
Description |
Expression<Func<TDocument, System.Object>> |
property |
|
Returns
|
Improve this Doc
View Source
Сортирует документы по убыванию указанного свойства.
Declaration
IDocumentFindSortedCursor<TDocument, TProjection> ThenByDescending(Expression<Func<TDocument, object>> property)
Parameters
Type |
Name |
Description |
Expression<Func<TDocument, System.Object>> |
property |
|
Returns
|
Improve this Doc
View Source
ThenByTextScore(Expression<Func<TProjection, Object>>)
Сортирует документы по убыванию релевантности, значение которой находится в указанном свойстве.
Declaration
IDocumentFindSortedCursor<TDocument, TProjection> ThenByTextScore(Expression<Func<TProjection, object>> textScoreProperty)
Parameters
Type |
Name |
Description |
Expression<Func<TProjection, System.Object>> |
textScoreProperty |
|
Returns
Extension Methods