[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/demos/quickstart/protected/index/Zend/Search/Lucene/Index/ -> SegmentWriter.php (sommaire)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)
License: http://www.zend.com/license/framework/1_0.txt Zend Framework License version 1.0
Poids: 491 lignes (17 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Zend_Search_Lucene_Index_SegmentWriter:: (8 méthodes):
  __construct()
  _addFieldInfo()
  addDocument()
  _dumpFNM()
  _dumpTermDictEntry()
  _dumpDictionary()
  _generateCFS()
  close()


Classe: Zend_Search_Lucene_Index_SegmentWriter  - X-Ref


__construct($directory, $name)   X-Ref
Object constructor.

param: Zend_Search_Lucene_Storage_Directory $directory
param: string $name

_addFieldInfo(Zend_Search_Lucene_Field $field)   X-Ref
Add field to the segment

param: Zend_Search_Lucene_Field $field

addDocument(Zend_Search_Lucene_Document $document)   X-Ref
Adds a document to this segment.

param: Zend_Search_Lucene_Document $document

_dumpFNM()   X-Ref
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)   X-Ref
Dump Term Dictionary segment file entry.
Used to write entry to .tis or .tii files

param: Zend_Search_Lucene_Storage_File $dicFile
param: Zend_Search_Lucene_Index_Term $prevTerm
param: Zend_Search_Lucene_Index_Term $term
param: Zend_Search_Lucene_Index_TermInfo $prevTermInfo
param: Zend_Search_Lucene_Index_TermInfo $termInfo

_dumpDictionary()   X-Ref
Dump Term Dictionary (.tis) and Term Dictionary Index (.tii) segment files


_generateCFS()   X-Ref
Generate compound index file


close()   X-Ref
Close segment, write it to disk and return segment info

return: Zend_Search_Lucene_Index_SegmentInfo



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7