Zend_Search_Lucene_Index_SegmentWriterLocated in /Zend/Search/Lucene/Index/SegmentWriter.php (line 38)
Zend_Search_Lucene_Index_SegmentWriter
__construct
(Zend_Search_Lucene_Storage_Directory $directory, string $name)
void
_dumpTermDictEntry
(Zend_Search_Lucene_Storage_File $dicFile, Zend_Search_Lucene_Index_Term &$prevTerm, Zend_Search_Lucene_Index_Term $term, Zend_Search_Lucene_Index_TermInfo &$prevTermInfo, Zend_Search_Lucene_Index_TermInfo $termInfo)
integer
$indexInterval
= 128 (line 49)
Expert: The fraction of terms in the "dictionary" which should be stored
in RAM. Smaller values use more memory, but make searching slightly faster, while larger values use less memory and make searching slightly slower. Searching is typically not dominated by dictionary lookup, so tweaking this is rarely useful.
integer
$skipInterval
= 0x7FFFFFFF (line 62)
Expert: The fraction of TermDocs entries stored in skip tables.
Larger values result in smaller indexes, greater acceleration, but fewer accelerable cases, while smaller values result in bigger indexes, less acceleration and more accelerable cases. More detailed experiments would be useful here.
0x0x7FFFFFFF indicates that we don't use skip data Default value is 16
Zend_Search_Lucene_Storage_Directory
$_directory
(line 83)
File system adapter.
integer
$_docCount
(line 69)
Number of docs in a segment
Zend_Search_Lucene_Storage_File
$_fdtFile
(line 141)
'.fdx' file - Stored Fields, the field data.
Zend_Search_Lucene_Storage_File
$_fdxFile
(line 134)
'.fdx' file - Stored Fields, the field index.
array
$_fields
(line 114)
Segment fields. Array of Zend_Search_Lucene_Index_FieldInfo objects for this segment
unknown_type
$_files
(line 91)
List of the index files.
Used for automatic compound file generation
string
$_name
(line 76)
Segment name
array
$_norms
(line 126)
Normalization factors.
An array fieldName => normVector normVector is a binary string. Each byte corresponds to an indexed document in a segment and encodes normalization factor (float value, encoded by Zend_Search_Lucene_Search_Similarity::encodeNorm())
array
$_termDictionary
(line 100)
Term Dictionary Array of the Zend_Search_Lucene_Index_Term objects Corresponding Zend_Search_Lucene_Index_TermInfo object stored in the $_termDictionaryInfos
array
$_termDocs
(line 107)
Documents, which contain the term
Constructor __construct (line 150)
Object constructor.
addDocument (line 192)
Adds a document to this segment.
close (line 474)
Close segment, write it to disk and return segment info
_addFieldInfo (line 171)
Add field to the segment
_dumpDictionary (line 352)
Dump Term Dictionary (.tis) and Term Dictionary Index (.tii) segment files
_dumpFNM (line 272)
Dump Field Info (.fnm) segment file
_dumpTermDictEntry (line 301)
Dump Term Dictionary segment file entry.
Used to write entry to .tis or .tii files
_generateCFS (line 439)
Generate compound index file
Documentation generated on Tue, 18 Apr 2006 11:55:34 -0700 by phpDocumentor 1.3.0RC3