
LeanQueryable<TDocument>
- Namespace
- Rowles.LeanCorpus.Linq
- Assembly
- Rowles.LeanCorpus.dll
LINQ queryable over a LeanCorpus index. Construct directly or obtain via
the source-generator-emitted AsQueryable(IndexSearcher) method.
public sealed class LeanQueryable<TDocument> : IOrderedQueryable<TDocument>, IOrderedQueryable, IQueryable<TDocument>, IEnumerable<TDocument>, IQueryable, IEnumerable
Type Parameters
TDocumentThe mapped document model type.
- Inheritance
-
LeanQueryable<TDocument>
- Implements
-
IOrderedQueryable<TDocument>IQueryable<TDocument>IEnumerable<TDocument>
LeanQueryable(IndexSearcher, LeanDocumentMap<TDocument>, Func<string, IFieldDescriptor?>?)
Initialises a new LeanQueryable<TDocument>.
LeanQueryable(IndexSearcher, LeanDocumentMap<TDocument>, Func<string, IFieldDescriptor?>?, SearchOptions?)
Initialises a new LeanQueryable<TDocument> with optional SearchOptions for timeout, cancellation, and result budget.
ElementType
Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.
Expression
Gets the expression tree that is associated with the instance of IQueryable.
Provider
Gets the query provider that is associated with this data source.
GetEnumerator()
Returns an enumerator that iterates through the collection.