Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void IndexWriter::setMaxBufferedDocs ( int32_t  val  )  [inline]

Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created. Since Documents are merged in a RAMDirectory, large value gives faster indexing. At the same time, mergeFactor limits the number of files open in a FSDirectory.

The default value is DEFAULT_MAX_BUFFERED_DOCS.

Definition at line 154 of file IndexWriter.h.

Referenced by IndexModifier::setMaxBufferedDocs().

{ minMergeDocs = val; }

Generated by  Doxygen 1.6.0   Back to index