Rowles.LeanCorpus.Linq
Classes
LeanQueryProvider<TDocument>
Executes LINQ expression trees against a LeanCorpus IndexSearcher. Translates
Wherepredicates into Query objects via LeanExpressionVisitor, executes searches, and materialises results through FromStoredDocument(StoredDocument).
LeanQueryable<TDocument>
LINQ queryable over a LeanCorpus index. Construct directly or obtain via the source-generator-emitted
AsQueryable(IndexSearcher)method.
LinqExtensions
Extension methods that add LINQ queryable support to LeanDocumentMap<TDocument> and related types.
Structs
LeanExpressionVisitor
Translates a LINQ Expression tree — typically an
Expression<Func<TDocument, bool>>— into a LeanCorpus Query tree suitable for Search(Query, int).
Interfaces
IFieldDescriptor
Non-generic field metadata consumed by the expression-tree visitor when translating LINQ member accesses into Query objects. Both LeanField<TDocument, TValue> and LeanFieldBinding<TDocument> implement this interface, so the resolver delegate can return either.