Zend_Search_Lucene_Index_WriterLocated in /Zend/Search/Lucene/Index/Writer.php (line 37)
Zend_Search_Lucene_Index_Writer
__construct
(Zend_Search_Lucene_Storage_Directory $directory, [boolean $create = false])
integer
$maxMergeDocs
(line 101)
Determines the largest number of documents ever merged by addDocument().
integer
$mergeFactor
(line 85)
Determines how often segment indices are merged by addDocument().
integer
$minMergeDocs
(line 94)
Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created.
Constructor __construct (line 147)
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.
addIndexes (line 275)
Merges the provided indexes into this index.
close (line 300)
Flushes all changes to an index and closes all associated files.
commit (line 248)
Commit current changes returns array of new segments
docCount (line 288)
Returns the number of documents currently in this index.
optimize (line 314)
Merges all segments together into a single segment, optimizing an index for search.
return void
Documentation generated on Tue, 11 Jul 2006 12:18:18 -0500 by phpDocumentor 1.3.0RC6