Located in /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.
Current segment to add documents
File system adapter.
List of the segments, created by index writer Array of Zend_Search_Lucene_Index_SegmentInfo objects
Segment name counter.
Used to name new segments .
Number of the segments in the index
Index version Counts how often the index has been changed by adding or deleting docs
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
Get name for new segment
Update segments file by adding current segment to a list
Documentation generated on Tue, 18 Apr 2006 11:55:49 -0700 by phpDocumentor 1.3.0RC3