7#ifndef READONLYDIRECTORYREADER_H
8#define READONLYDIRECTORYREADER_H
18 Collection<int32_t> oldStarts, MapStringByteArray oldNormsCache,
bool doClone, int32_t termInfosIndexDivisor);
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
An IndexReader which reads indexes with multiple segments.
Definition DirectoryReader.h:19
Definition ReadOnlyDirectoryReader.h:14
ReadOnlyDirectoryReader(const DirectoryPtr &directory, const SegmentInfosPtr &sis, const IndexDeletionPolicyPtr &deletionPolicy, int32_t termInfosIndexDivisor)
virtual ~ReadOnlyDirectoryReader()
ReadOnlyDirectoryReader(const DirectoryPtr &directory, const SegmentInfosPtr &infos, Collection< SegmentReaderPtr > oldReaders, Collection< int32_t > oldStarts, MapStringByteArray oldNormsCache, bool doClone, int32_t termInfosIndexDivisor)
ReadOnlyDirectoryReader(const IndexWriterPtr &writer, const SegmentInfosPtr &infos, int32_t termInfosIndexDivisor)
virtual void acquireWriteLock()
Tries to acquire the WriteLock on this directory. this method is only valid if this IndexReader is di...
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Directory > DirectoryPtr
Definition LuceneTypes.h:489
boost::shared_ptr< IndexDeletionPolicy > IndexDeletionPolicyPtr
Definition LuceneTypes.h:153
boost::shared_ptr< SegmentInfos > SegmentInfosPtr
Definition LuceneTypes.h:210
boost::shared_ptr< IndexWriter > IndexWriterPtr
Definition LuceneTypes.h:160