[ 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/ -> SegmentInfo.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: 412 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Zend_Search_Lucene_Index_SegmentInfo:: (10 méthodes):
  __construct()
  openCompoundFile()
  getFieldNum()
  getField()
  getFields()
  count()
  _loadDictionary()
  getName()
  getTermInfo()
  norm()


Classe: Zend_Search_Lucene_Index_SegmentInfo  - X-Ref


__construct($name, $docCount, $directory)   X-Ref
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname,
Documents count and Directory as a parameter.

param: string $name
param: integer $docCount
param: Zend_Search_Lucene_Storage_Directory $directory

openCompoundFile($extension)   X-Ref
Opens index file stoted within compound index file

param: string $extension
return: Zend_Search_Lucene_Storage_File

getFieldNum($fieldName)   X-Ref
Returns field index or -1 if field is not found

param: string $fieldName
return: integer

getField($fieldNum)   X-Ref
Returns field info for specified field

param: integer $fieldNum
return: ZSearchFieldInfo

getFields($indexed = false)   X-Ref
Returns array of fields.
if $indexed parameter is true, then returns only indexed fields.

param: boolean $indexed
return: array

count()   X-Ref
Returns the total number of documents in this segment.

return: integer

_loadDictionary()   X-Ref
Loads Term dictionary from TermInfoIndex file


getName()   X-Ref
Return segment name

return: string

getTermInfo($term)   X-Ref
Scans terms dictionary and returns term info

param: Zend_Search_Lucene_Index_Term $term
return: Zend_Search_Lucene_Index_TermInfo

norm($id, $fieldName)   X-Ref
Returns normalization factor for specified documents

param: integer $id
param: string $fieldName
return: string



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