#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Common util methods for dealing with IndexReaders.
Definition: ReaderUtil.h:15
static int32_t subIndex(int32_t n, Collection< int32_t > docStarts)
Returns index of the searcher/reader for document n in the array used to construct this searcher/read...
static IndexReaderPtr subReader(int32_t doc, const IndexReaderPtr &reader)
Returns sub IndexReader that contains the given document id.
static void gatherSubReaders(Collection< IndexReaderPtr > allSubReaders, const IndexReaderPtr &reader)
Gathers sub-readers from reader into a List.
static IndexReaderPtr subReader(const IndexReaderPtr &reader, int32_t subIndex)
Returns sub-reader subIndex from reader.
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157