311 virtual bool isOpen(
bool includePendingClose);
561 virtual void close(
bool waitForMerges);
729 virtual void optimize(int32_t maxNumSegments,
bool doWait);
883 virtual void commit(MapStringString commitUserData);
986 virtual void maybeMerge(int32_t maxNumSegmentsOptimize,
bool optimize);
1044 virtual void flush(
bool triggerMerge,
bool flushDocStores,
bool flushDeletes);
1045 virtual bool doFlush(
bool flushDocStores,
bool flushDeletes);
1087 virtual void startCommit(int64_t sizeInBytes, MapStringString commitUserData);
1091 friend class ReaderPool;
#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
Utility template class to handle hash set collections that can be safely copied and shared.
Definition HashSet.h:17
If getReader has been called (ie, this writer is in near real-time mode), then after a merge complete...
Definition IndexWriter.h:1100
virtual void warm(const IndexReaderPtr &reader)=0
virtual ~IndexReaderWarmer()
An IndexWriter creates and maintains an index.
Definition IndexWriter.h:90
virtual int32_t getNumBufferedDeleteTerms()
For test purposes.
virtual void optimize()
Requests an "optimize" operation on an index, priming the index for the fastest available search....
virtual DirectoryPtr getDirectory()
Returns the Directory used by this index.
virtual void addDocument(const DocumentPtr &doc)
Adds a document to this index. If the document contains more than setMaxFieldLength(int32_t) terms fo...
virtual bool registerMerge(const OneMergePtr &merge)
Checks whether this merge involves any segments already participating in a merge. If not,...
virtual String segString(const SegmentInfosPtr &infos)
virtual SimilarityPtr getSimilarity()
Return the Similarity implementation used by this IndexWriter. This defaults to the current value of ...
virtual void addMergeException(const OneMergePtr &merge)
virtual int32_t getMaxBufferedDocs()
Returns the number of buffered added documents that will trigger a flush if enabled.
virtual int32_t getMaxFieldLength()
Returns the maximum number of terms that will be indexed for a single field in a document.
bool hitOOM
Definition IndexWriter.h:115
virtual void closeInternal(bool waitForMerges)
SegmentInfosPtr segmentInfos
Definition IndexWriter.h:136
virtual void releaseRead()
virtual void setSimilarity(const SimilarityPtr &similarity)
Set the Similarity implementation used by this IndexWriter.
virtual bool hasDeletions()
virtual void startCommit(int64_t sizeInBytes, MapStringString commitUserData)
Walk through all files referenced by the current segmentInfos and ask the Directory to sync each file...
static const int32_t MERGE_READ_BUFFER_SIZE
The normal read buffer size defaults to 1024, but increasing this during merging seems to yield perfo...
Definition IndexWriter.h:110
virtual void _mergeInit(const OneMergePtr &merge)
virtual void closeMergeReaders(const OneMergePtr &merge, bool suppressExceptions)
int64_t writeLockTimeout
Definition IndexWriter.h:105
virtual void rollback()
Close the IndexWriter without committing any changes that have occurred since the last commit (or sin...
virtual int32_t getFlushDeletesCount()
bool create
Definition IndexWriter.h:120
int32_t maxFieldLength
The maximum number of terms that will be indexed for a single field in a document....
Definition IndexWriter.h:187
virtual void commitMergedDeletes(const OneMergePtr &merge, const SegmentReaderPtr &mergeReader)
Carefully merges deletes for the segments we just merged. This is tricky because, although merging wi...
virtual double getRAMBufferSizeMB()
Returns the value set by setRAMBufferSizeMB if enabled.
virtual String newSegmentName()
bool closing
Definition IndexWriter.h:149
int32_t optimizeMaxNumSegments
Definition IndexWriter.h:142
virtual void maybeMerge(int32_t maxNumSegmentsOptimize, bool optimize)
bool stopMerges
Definition IndexWriter.h:158
virtual void acquireRead()
virtual void setRollbackSegmentInfos(const SegmentInfosPtr &infos)
virtual void optimize(int32_t maxNumSegments)
Optimize the index down to <= maxNumSegments. If maxNumSegments==1 then this is the same as optimize(...
ReaderPoolPtr readerPool
Definition IndexWriter.h:204
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, bool create, int32_t mfl)
virtual int32_t getBufferedDeleteTermsSize()
For test purposes.
virtual MergeSchedulerPtr getMergeScheduler()
Returns the current MergePolicy in use by this writer.
virtual IndexReaderWarmerPtr getMergedSegmentWarmer()
Returns the current merged segment warmer. See IndexReaderWarmer.
virtual void ensureOpen()
virtual void setReaderTermsIndexDivisor(int32_t divisor)
Sets the termsIndexDivisor passed to any readers that IndexWriter opens, for example when applying de...
SegmentInfosPtr rollbackSegmentInfos
Definition IndexWriter.h:130
virtual int32_t maxDoc()
Returns total number of docs in this index, including docs not yet flushed (still in the RAM buffer),...
virtual int32_t getNumBufferedDocuments()
virtual bool flushDocStores()
Tells the docWriter to close its currently open shared doc stores (stored fields & vectors files)....
virtual int32_t numDeletedDocs(const SegmentInfoPtr &info)
Obtain the number of deleted docs for a pooled reader. If the reader isn't being pooled,...
Collection< OneMergePtr > mergeExceptions
Definition IndexWriter.h:156
virtual void resumeAddIndexes()
virtual void upgradeReadToWrite()
Allows one readLock to upgrade to a writeLock even if there are other readLocks as long as all other ...
virtual OneMergePtr getNextExternalMerge()
Like getNextMerge() except only returns a merge if it's external.
int64_t mergeGen
Definition IndexWriter.h:157
int32_t upgradeCount
Definition IndexWriter.h:166
virtual void setDiagnostics(const SegmentInfoPtr &info, const String &source, MapStringString details)
virtual bool applyDeletes()
Apply buffered deletes to all segments.
virtual void commit()
Commits all pending changes (added & deleted documents, optimizations, segment merges,...
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
virtual void noDupDirs(Collection< DirectoryPtr > dirs)
virtual void optimize(bool doWait)
Just like optimize(), except you can specify whether the call should block until the optimize complet...
virtual void rollbackInternal()
virtual void finishMerges(bool waitForMerges)
SynchronizePtr commitLock
Used only by commit; lock order is commitLock -> IW.
Definition IndexWriter.h:198
Collection< OneMergePtr > pendingMerges
Definition IndexWriter.h:154
static void setDefaultInfoStream(const InfoStreamPtr &infoStream)
If non-null, this will be the default infoStream used by a newly instantiated IndexWriter.
IndexingChainPtr indexingChain
Definition IndexWriter.h:122
virtual int32_t getReaderTermsIndexDivisor()
int64_t lastCommitChangeCount
Definition IndexWriter.h:128
int32_t termIndexInterval
Definition IndexWriter.h:146
virtual void doAfterFlush()
A hook for extending classes to execute operations after pending added and deleted documents have bee...
virtual void commit(int64_t sizeInBytes)
virtual bool optimizeMergesPending()
Returns true if any merges in pendingMerges or runningMerges are optimization merges.
virtual String segString()
virtual int32_t getTermIndexInterval()
Return the interval between indexed terms.
virtual void mergeSuccess(const OneMergePtr &merge)
Hook that's called when the specified merge is complete.
virtual bool hasExternalSegments()
static const int32_t DEFAULT_TERM_INDEX_INTERVAL
Default value is 128. Change using setTermIndexInterval(int32_t).
Definition IndexWriter.h:232
virtual IndexReaderPtr getReader(int32_t termInfosIndexDivisor)
Like getReader, except you can specify which termInfosIndexDivisor should be used for any newly opene...
virtual void resetMergeExceptions()
virtual int32_t getFlushCount()
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, const IndexDeletionPolicyPtr &deletionPolicy, int32_t mfl)
virtual OneMergePtr getNextMerge()
The MergeScheduler calls this method to retrieve the next merge requested by the MergePolicy.
int64_t changeCount
Definition IndexWriter.h:127
virtual void setTermIndexInterval(int32_t interval)
Set the interval between indexed terms. Large values cause less memory to be used by IndexReader,...
virtual int32_t mergeMiddle(const OneMergePtr &merge)
Does the actual (time-consuming) work of the merge, but without holding synchronized lock on IndexWri...
virtual bool getUseCompoundFile()
Get the current setting of whether newly flushed segments will use the compound file format....
virtual void setRAMBufferSizeMB(double mb)
Determines the amount of RAM that may be used for buffering added documents and deletions before they...
MergePolicyPtr mergePolicy
Definition IndexWriter.h:152
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, const IndexDeletionPolicyPtr &deletionPolicy, int32_t mfl, const IndexCommitPtr &commit)
virtual MergePolicyPtr getMergePolicy()
Returns the current MergePolicy in use by this writer.
static const int32_t MaxFieldLengthUNLIMITED
Sets the maximum field length to INT_MAX.
Definition IndexWriter.h:240
virtual bool verbose()
Returns true if verbosing is enabled (i.e., infoStream != null).
virtual int64_t getWriteLockTimeout()
Returns allowed timeout when acquiring the write lock.
virtual void deleteAll()
Delete all documents in the index.
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, bool create, const IndexDeletionPolicyPtr &deletionPolicy, int32_t mfl)
virtual void setMaxBufferedDeleteTerms(int32_t maxBufferedDeleteTerms)
Determines the minimal number of delete terms required before the buffered in-memory delete terms are...
virtual void ensureOpen(bool includePendingClose)
virtual IndexReaderPtr getReader()
Returns a read-only reader, covering all committed as well as un-committed changes to the index....
int32_t messageID
Definition IndexWriter.h:114
virtual LuceneException handleMergeException(const LuceneException &exc, const OneMergePtr &merge)
int32_t localFlushedDocCount
Definition IndexWriter.h:134
virtual void addIndexes(Collection< IndexReaderPtr > readers)
Merges the provided indexes into this index. After this completes, the index is optimized....
virtual void resolveExternalSegments()
If any of our segments are using a directory != ours then we have to either copy them over one by one...
virtual void maybeMerge(bool optimize)
virtual void deleteDocuments(const QueryPtr &query)
Deletes the document(s) matching the provided query.
int32_t readerTermsIndexDivisor
Definition IndexWriter.h:168
virtual bool nrtIsCurrent(const SegmentInfosPtr &infos)
virtual void commitTransaction()
Commits the transaction. This will write the new segments file and remove and pending deletions we ha...
static int32_t MESSAGE_ID
Definition IndexWriter.h:113
virtual int32_t getMaxMergeDocs()
Returns the largest segment (measured by document count) that may be merged with other segments.
virtual void prepareCommit()
Prepare for commit.
SimilarityPtr similarity
Definition IndexWriter.h:125
HashSet< String > syncing
Definition IndexWriter.h:193
virtual int32_t numRamDocs()
Return the number of documents currently buffered in RAM.
virtual void rollbackTransaction()
Rolls back the transaction and restores state to where we were at the start.
virtual bool startSync(const String &fileName, HashSet< String > pending)
IndexReaderWarmerPtr mergedSegmentWarmer
Definition IndexWriter.h:195
virtual void setMergePolicy(const MergePolicyPtr &mp)
Set the merge policy used by this writer.
LockPtr writeLock
Definition IndexWriter.h:144
virtual LogMergePolicyPtr getLogMergePolicy()
Casts current mergePolicy to LogMergePolicy, and throws an exception if the mergePolicy is not a LogM...
virtual void finishSync(const String &fileName, bool success)
static bool isLocked(const DirectoryPtr &directory)
Returns true if the index in the named directory is currently locked.
virtual void setMergeFactor(int32_t mergeFactor)
Determines how often segment indices are merged by addDocument(). With smaller values,...
virtual void deleteDocuments(Collection< QueryPtr > queries)
Deletes the document(s) matching any of the provided queries. All deletes are flushed at the same tim...
HashSet< String > synced
Definition IndexWriter.h:192
virtual int32_t getMaxBufferedDeleteTerms()
Returns the number of buffered deleted terms that will trigger a flush if enabled.
virtual LuceneException handleOOM(const std::bad_alloc &oom, const String &location)
static const int32_t DEFAULT_MAX_BUFFERED_DELETE_TERMS
Disabled by default (because IndexWriter flushes by RAM usage by default). Change using setMaxBuffere...
Definition IndexWriter.h:226
static const String WRITE_LOCK_NAME
Definition IndexWriter.h:211
virtual int32_t getMergeFactor()
Returns the number of segments that are merged at once and also controls the total number of segments...
IndexCommitPtr indexCommit
Definition IndexWriter.h:123
MapSegmentInfoInt rollbackSegments
Definition IndexWriter.h:131
virtual void merge(const OneMergePtr &merge)
Merges the indicated segments, replacing them in the stack with a single segment.
virtual InfoStreamPtr getInfoStream()
Returns the current infoStream in use by this writer.
bool waitForAllSynced(HashSet< String > syncing)
Blocks until all files in syncing are sync'd.
virtual int32_t ensureContiguousMerge(const OneMergePtr &merge)
static InfoStreamPtr getDefaultInfoStream()
Returns the current default infoStream for newly instantiated IndexWriters.
virtual void maybeMerge()
Asks the mergePolicy whether any merges are necessary now and if so, runs the requested merges and th...
virtual void commit(MapStringString commitUserData)
Commits all changes to the index, specifying a commitUserData Map (String -> String)....
static const int32_t DISABLE_AUTO_FLUSH
Value to denote a flush trigger is disabled.
Definition IndexWriter.h:214
virtual void setMaxMergeDocs(int32_t maxMergeDocs)
Determines the largest segment (measured by document count) that may be merged with other segments....
virtual void mergeInit(const OneMergePtr &merge)
Does initial setup for a merge, which is fast but holds the synchronized lock on IndexWriter instance...
virtual void expungeDeletes(bool doWait)
Just like expungeDeletes(), except you can specify whether the call should block until the operation ...
bool poolReaders
Definition IndexWriter.h:175
virtual int32_t getDocCount(int32_t i)
SetSegmentInfo mergingSegments
Definition IndexWriter.h:151
virtual void setMergeDocStoreIsCompoundFile(const OneMergePtr &merge)
static const double DEFAULT_RAM_BUFFER_SIZE_MB
Default value is 16 MB (which means flush when buffered docs consume 16 MB RAM). Change using setRAMB...
Definition IndexWriter.h:222
virtual void setMaxBufferedDocs(int32_t maxBufferedDocs)
Determines the minimal number of documents required before the buffered in-memory documents are flush...
virtual void setMessageID(const InfoStreamPtr &infoStream)
virtual void startTransaction(bool haveReadLock)
Begin a transaction. During a transaction, any segment merges that happen (or ram segments flushed) w...
virtual int32_t numDocs()
Returns total number of docs in this index, including docs not yet flushed (still in the RAM buffer),...
virtual void addIndexesNoOptimize(Collection< DirectoryPtr > dirs)
Merges all segments from an array of indexes into this index.
virtual void setWriteLockTimeout(int64_t writeLockTimeout)
Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.
InfoStreamPtr infoStream
Definition IndexWriter.h:189
static const int32_t MaxFieldLengthLIMITED
Sets the maximum field length to DEFAULT_MAX_FIELD_LENGTH.
Definition IndexWriter.h:243
IndexDeletionPolicyPtr deletionPolicy
Definition IndexWriter.h:121
static void unlock(const DirectoryPtr &directory)
Forcibly unlocks the index in the named directory. Caution: this should only be used by failure recov...
virtual int64_t ramSizeInBytes()
Return the total size of all index files currently cached in memory. Useful for size management with ...
virtual void finishAddIndexes()
static int32_t MAX_TERM_LENGTH()
Absolute hard maximum length for a term. If a term arrives from the analyzer longer than this length,...
SynchronizePtr messageIDLock
Definition IndexWriter.h:112
DocumentsWriterPtr docWriter
Definition IndexWriter.h:138
virtual void deleteDocuments(const TermPtr &term)
Deletes the document(s) containing term.
int32_t readCount
Used to only allow one addIndexes to proceed at once.
Definition IndexWriter.h:164
virtual bool testPoint(const String &name)
Used only by assert for testing. Current points: startDoFlush startCommitMerge startStartCommit midSt...
static const int32_t DEFAULT_MAX_FIELD_LENGTH
Default value is 10,000. Change using setMaxFieldLength(int32_t).
Definition IndexWriter.h:229
virtual void updateDocument(const TermPtr &term, const DocumentPtr &doc, const AnalyzerPtr &analyzer)
Updates a document by first deleting the document(s) containing term and then adding the new document...
DirectoryPtr directory
Definition IndexWriter.h:117
virtual SegmentInfoPtr newestSegment()
Utility routines for tests.
virtual void setInfoStream(const InfoStreamPtr &infoStream)
If non-null, information about merges, deletes and a message when maxFieldLength is reached will be p...
int64_t pendingCommitChangeCount
Definition IndexWriter.h:202
virtual bool shouldClose()
Returns true if this thread should attempt to close, or false if IndexWriter is now closed; else,...
virtual void flush(bool triggerMerge, bool flushDocStores, bool flushDeletes)
Flush all in-memory buffered updates (adds and deletes) to the Directory.
virtual int32_t getSegmentCount()
SetOneMerge runningMerges
Definition IndexWriter.h:155
virtual void acquireWrite()
virtual void doBeforeFlush()
A hook for extending classes to execute operations before pending added and deleted documents are flu...
static int64_t WRITE_LOCK_TIMEOUT
Default value for the write lock timeout (1,000).
Definition IndexWriter.h:209
virtual void checkpoint()
Called whenever the SegmentInfos has been updated and the index files referenced exist (correctly) in...
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, bool create, const IndexDeletionPolicyPtr &deletionPolicy, int32_t mfl, const IndexingChainPtr &indexingChain, const IndexCommitPtr &commit)
virtual void waitForMerges()
Wait for any currently outstanding merges to finish.
virtual void setMergeScheduler(const MergeSchedulerPtr &mergeScheduler)
Set the merge scheduler used by this writer.
virtual void updateDocument(const TermPtr &term, const DocumentPtr &doc)
Updates a document by first deleting the document(s) containing term and then adding the new document...
bool closed
Definition IndexWriter.h:148
virtual void expungeDeletes()
Expunges all deletes from the index. When an index has many document deletions (or updates to existin...
virtual void optimize(int32_t maxNumSegments, bool doWait)
Just like optimize(int32_t), except you can specify whether the call should block until the optimize ...
virtual void setMergedSegmentWarmer(const IndexReaderWarmerPtr &warmer)
Set the merged segment warmer. See IndexReaderWarmer.
int64_t writeThread
Definition IndexWriter.h:165
virtual void setMaxFieldLength(int32_t maxFieldLength)
The maximum number of terms that will be indexed for a single field in a document....
virtual bool isOpen(bool includePendingClose)
virtual bool doFlush(bool flushDocStores, bool flushDeletes)
virtual void message(const String &message)
SegmentInfosPtr localRollbackSegmentInfos
Definition IndexWriter.h:133
IndexFileDeleterPtr deleter
Definition IndexWriter.h:139
virtual void pushMaxBufferedDocs()
If we are flushing by doc count (not by RAM usage), and using LogDocMergePolicy then push maxBuffered...
IndexWriter(const DirectoryPtr &d, const AnalyzerPtr &a, int32_t mfl)
static int64_t getDefaultWriteLockTimeout()
Returns default write lock timeout for newly instantiated IndexWriters.
static InfoStreamPtr defaultInfoStream
Definition IndexWriter.h:190
virtual bool doFlushInternal(bool flushDocStores, bool flushDeletes)
MergeSchedulerPtr mergeScheduler
Definition IndexWriter.h:153
virtual void close()
Commits all changes to an index and closes all associated files. Note that this may be a costly opera...
virtual void setUseCompoundFile(bool value)
Setting to turn on usage of a compound file. When on, multiple files for each segment are merged into...
virtual void setDiagnostics(const SegmentInfoPtr &info, const String &source)
virtual void close(bool waitForMerges)
Closes the index with or without waiting for currently running merges to finish. This is only meaning...
virtual void updatePendingMerges(int32_t maxNumSegmentsOptimize, bool optimize)
virtual void messageState()
int32_t flushCount
Definition IndexWriter.h:160
virtual void finishCommit()
virtual AnalyzerPtr getAnalyzer()
Returns the analyzer used by this index.
virtual bool commitMerge(const OneMergePtr &merge, const SegmentMergerPtr &merger, int32_t mergedDocCount, const SegmentReaderPtr &mergedReader)
SetSegmentInfo segmentsToOptimize
Definition IndexWriter.h:141
static const int32_t DEFAULT_MAX_BUFFERED_DOCS
Disabled by default (because IndexWriter flushes by RAM usage by default). Change using setMaxBuffere...
Definition IndexWriter.h:218
virtual void releaseWrite()
virtual void addDocument(const DocumentPtr &doc, const AnalyzerPtr &analyzer)
Adds a document to this index, using the provided analyzer instead of the value of getAnalyzer()....
virtual void deleteDocuments(Collection< TermPtr > terms)
Deletes the document(s) containing any of the terms. All deletes are flushed at the same time.
virtual void prepareCommit(MapStringString commitUserData)
Prepare for commit, specifying commitUserData Map (String -> String). This does the first phase of 2-...
virtual void blockAddIndexes(bool includePendingClose)
static void setDefaultWriteLockTimeout(int64_t writeLockTimeout)
Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in millisec...
int32_t flushDeletesCount
Definition IndexWriter.h:161
virtual void mergeFinish(const OneMergePtr &merge)
Does finishing for a merge, which is fast but holds the synchronized lock on IndexWriter instance.
AnalyzerPtr analyzer
Definition IndexWriter.h:118
Lucene exception container.
Definition LuceneException.h:15
Base class for all Lucene classes.
Definition LuceneObject.h:31
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< IndexCommit > IndexCommitPtr
Definition LuceneTypes.h:152
boost::shared_ptr< InfoStream > InfoStreamPtr
Definition LuceneTypes.h:532
boost::shared_ptr< Lock > LockPtr
Definition LuceneTypes.h:496
boost::shared_ptr< Query > QueryPtr
Definition LuceneTypes.h:420
boost::shared_ptr< OneMerge > OneMergePtr
Definition LuceneTypes.h:192
boost::shared_ptr< DocumentsWriter > DocumentsWriterPtr
Definition LuceneTypes.h:123
boost::shared_ptr< MergePolicy > MergePolicyPtr
Definition LuceneTypes.h:174
boost::shared_ptr< Similarity > SimilarityPtr
Definition LuceneTypes.h:435
boost::shared_ptr< ReaderPool > ReaderPoolPtr
Definition LuceneTypes.h:203
boost::shared_ptr< Analyzer > AnalyzerPtr
Definition LuceneTypes.h:20
boost::shared_ptr< SegmentInfo > SegmentInfoPtr
Definition LuceneTypes.h:208
boost::shared_ptr< IndexFileDeleter > IndexFileDeleterPtr
Definition LuceneTypes.h:154
boost::shared_ptr< Synchronize > SynchronizePtr
Definition LuceneTypes.h:552
boost::shared_ptr< IndexReaderWarmer > IndexReaderWarmerPtr
Definition LuceneTypes.h:158
boost::shared_ptr< Term > TermPtr
Definition LuceneTypes.h:233
boost::shared_ptr< IndexingChain > IndexingChainPtr
Definition LuceneTypes.h:156
boost::shared_ptr< Directory > DirectoryPtr
Definition LuceneTypes.h:489
boost::shared_ptr< IndexDeletionPolicy > IndexDeletionPolicyPtr
Definition LuceneTypes.h:153
boost::shared_ptr< LogMergePolicy > LogMergePolicyPtr
Definition LuceneTypes.h:172
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157
boost::shared_ptr< SegmentMerger > SegmentMergerPtr
Definition LuceneTypes.h:214
boost::shared_ptr< Document > DocumentPtr
Definition LuceneTypes.h:74
boost::shared_ptr< SegmentInfos > SegmentInfosPtr
Definition LuceneTypes.h:210
boost::shared_ptr< SegmentReader > SegmentReaderPtr
Definition LuceneTypes.h:215
boost::shared_ptr< MergeScheduler > MergeSchedulerPtr
Definition LuceneTypes.h:175