Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Common util methods for dealing with IndexReaders. More...
Static Public Member Functions | |
static void | GatherSubReaders (System.Collections.Generic.IList< IndexReader > allSubReaders, IndexReader reader) |
Gathers sub-readers from reader into a List. | |
static IndexReader | SubReader (int doc, IndexReader reader) |
Returns sub IndexReader that contains the given document id. | |
static IndexReader | SubReader (IndexReader reader, int subIndex) |
Returns sub-reader subIndex from reader. | |
static int | SubIndex (int n, int[] docStarts) |
Returns index of the searcher/reader for document n in the array used to construct this searcher/reader. | |
Common util methods for dealing with IndexReaders.
Definition at line 27 of file ReaderUtil.cs.
|
static |
Gathers sub-readers from reader into a List.
allSubReaders | |
reader |
Definition at line 32 of file ReaderUtil.cs.
|
static |
Returns index of the searcher/reader for document n
in the array used to construct this searcher/reader.
Definition at line 94 of file ReaderUtil.cs.
|
static |
Returns sub IndexReader that contains the given document id.
doc | id of document |
reader | parent reader |
Definition at line 58 of file ReaderUtil.cs.
|
static |
Returns sub-reader subIndex from reader.
reader | parent reader |
subIndex | index of desired sub reader |
Definition at line 82 of file ReaderUtil.cs.