Zend_Search_Lucene_Index_SegmentInfoLocated in /Zend/Search/Lucene/Index/SegmentInfo.php (line 32)
Zend_Search_Lucene_Index_SegmentInfo
__construct
(string $name, integer $docCount, Zend_Search_Lucene_Storage_Directory $directory)
Zend_Search_Lucene_Storage_Directory_Filesystem
$_directory
(line 94)
File system adapter.
integer
$_docCount
(line 39)
Number of docs in a segment
array
$_fields
(line 70)
Segment fields. Array of Zend_Search_Lucene_Index_FieldInfo objects for this segment
array
$_fieldsDicPositions
(line 78)
Field positions in a dictionary.
(Term dictionary contains filelds ordered by names)
string
$_name
(line 46)
Segment name
array
$_norms
= array() (line 106)
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
$_segFiles
(line 87)
Associative array where the key is the file name and the value is data offset in a compound segment file (.csf).
array
$_termDictionary
(line 55)
Term Dictionary Index Array of the Zend_Search_Lucene_Index_Term objects Corresponding Zend_Search_Lucene_Index_TermInfo object stored in the $_termDictionaryInfos
array
$_termDictionaryInfos
(line 63)
Term Dictionary Index TermInfos Array of the Zend_Search_Lucene_Index_TermInfo objects
Constructor __construct (line 116)
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname, Documents count and Directory as a parameter.
count (line 229)
Returns the total number of documents in this segment.
getField (line 201)
Returns field info for specified field
getFieldNum (line 184)
Returns field index or -1 if field is not found
getFields (line 213)
Returns array of fields.
if $indexed parameter is true, then returns only indexed fields.
getName (line 291)
Return segment name
getTermInfo (line 303)
Scans terms dictionary and returns term info
norm (line 396)
Returns normalization factor for specified documents
openCompoundFile (line 164)
Opens index file stoted within compound index file
_loadDictionary (line 238)
Loads Term dictionary from TermInfoIndex file
Documentation generated on Tue, 18 Apr 2006 11:55:34 -0700 by phpDocumentor 1.3.0RC3