Located in /Zend/Search/Lucene/Index/SegmentInfo.php (line 34)
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname, Documents count and Directory as a parameter.
Returns the total number of documents in this segment.
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
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.
Loads Term dictionary from TermInfoIndex file
Documentation generated on Thu, 18 Jan 2007 09:58:53 -0800 by phpDocumentor 1.3.1