
MultiReader
- Namespace
- Rowles.LeanCorpus.Search.Searcher
- Assembly
- Rowles.LeanCorpus.dll
Searches an immutable composition of multiple directory snapshots without merging their files.
public sealed class MultiReader : IDisposable
- Inheritance
-
MultiReader
- Implements
MultiReader(IReadOnlyList<MMapDirectory>, IndexSearcherConfig?)
Opens one immutable searcher snapshot per directory in input order.
CommitGenerations
Gets the captured commit generation for each component in input order.
MaxDoc
Gets the total number of documents across component snapshots.
ReaderCount
Gets the number of component snapshots in this composition.
Dispose()
Disposes all component searcher snapshots.
GetOrdinalMap(string, bool)
Builds an immutable global ordinal map for a sorted DocValues field across the component snapshots in input order.
Search(Query, int)
Searches all component snapshots by score.
Search(Query, int, params SortField[])
Searches all component snapshots using the supplied sort order.
SearchAfter(ScoreDoc, Query, int, params SortField[])
Returns the next page after a result from this immutable composition.
SearchWithFacets(Query, int, params string[])
Searches and merges facet counts from all component snapshots.