Located in /Zend/Search/Lucene/Index/SegmentInfo.php (line 37)
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname, Documents count and Directory as a parameter.
Get compound file length
Returns the total number of documents in this segment (including deleted documents).
Returns term in current position
Returns an array of all term positions in the documents.
Return array structure: array( docId => array( pos1, pos2, ...), ...)
Deletes a document from the index segment.
$id is an internal document id
Returns field info for specified field
Returns array of FieldInfo objects.
Returns field index or -1 if field is not found
Returns array of fields.
if $indexed parameter is true, then returns only indexed fields.
Return segment name
Scans terms dictionary and returns term info
Returns true if any documents have been deleted from this index segment.
Checks, that document is deleted
Scans terms dictionary and returns next term
Returns normalization factor for specified documents
Returns norm vector, encoded in a byte string
Returns the total number of non-deleted documents in this segment.
Opens index file stoted within compound index file
Reset terms stream
$startId - id for the fist document $compact - remove deleted documents
Returns start document id for the next segment
Write changes if it's necessary.
Documentation generated on Wed, 21 Feb 2007 11:59:11 -0800 by phpDocumentor 1.3.1