Zend Framework
1.12
|
Public Member Functions | |
__construct (Zend_Search_Lucene_Storage_Directory $directory, $name) | |
Object constructor. | |
createStoredFieldsFiles () | |
Create stored fields files and open them for write. | |
addNorm ($fieldName, $normVector) | |
close () | |
Close segment, write it to disk and return segment info. | |
![]() | |
__construct (Zend_Search_Lucene_Storage_Directory $directory, $name) | |
Object constructor. | |
addField (Zend_Search_Lucene_Field $field) | |
Add field to the segment. | |
addFieldInfo (Zend_Search_Lucene_Index_FieldInfo $fieldInfo) | |
Add fieldInfo to the segment. | |
getFieldInfos () | |
Returns array of FieldInfo objects. | |
addStoredFields ($storedFields) | |
Add stored fields information. | |
count () | |
Returns the total number of documents in this segment. | |
getName () | |
Return segment name. | |
initializeDictionaryFiles () | |
Create dicrionary, frequency and positions files and write necessary headers. | |
addTerm ($termEntry, $termDocs) | |
Add term. | |
closeDictionaryFiles () | |
Close dictionary. | |
close () | |
Close segment, write it to disk and return segment info. | |
Additional Inherited Members | |
![]() | |
static | $indexInterval = 128 |
static | $skipInterval = 0x7FFFFFFF |
static | $maxSkipLevels = 0 |
![]() | |
_dumpFNM () | |
Dump Field Info (.fnm) segment file. | |
_dumpTermDictEntry (Zend_Search_Lucene_Storage_File $dicFile, &$prevTerm, Zend_Search_Lucene_Index_Term $term, &$prevTermInfo, Zend_Search_Lucene_Index_TermInfo $termInfo) | |
Dump Term Dictionary segment file entry. | |
_generateCFS () | |
Generate compound index file. | |
![]() | |
$_docCount = 0 | |
$_name | |
$_directory | |
$_files = array() | |
$_fields = array() | |
$_norms = array() | |
$_fdxFile = null | |
$_fdtFile = null | |
__construct | ( | Zend_Search_Lucene_Storage_Directory | $directory, |
$name | |||
) |
Object constructor.
Zend_Search_Lucene_Storage_Directory | $directory | |
string | $name |
addNorm | ( | $fieldName, | |
$normVector | |||
) |
close | ( | ) |
Close segment, write it to disk and return segment info.
createStoredFieldsFiles | ( | ) |
Create stored fields files and open them for write.