Located in /incubator/Zend/Search/Lucene/index/Writer.php (line 35)
Determines the largest number of documents ever merged by addDocument().
Determines how often segment indices are merged by addDocument().
Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created.
Opens the index for writing
IndexWriter constructor needs Directory as a parameter. It should be a string with a path to the index folder or a Directory object. Second constructor parameter create is optional - true to create the index or overwrite the existing one.
Adds a document to this index.
Merges the provided indexes into this index.
Flushes all changes to an index and closes all associated files.
Commit current changes returns array of new segments
Returns the number of documents currently in this index.
Merges all segments together into a single segment, optimizing an index for search.
return void
Documentation generated on Wed, 08 Mar 2006 04:55:20 -0800 by phpDocumentor 1.3.0RC4