Class Zend_Search_Lucene_Document

Description

A Document is a set of fields. Each field has a name and a textual value.

  • license: Zend
  • copyright: Copyright (c) 2005-2006 Zend Technologies Inc. (http://www.zend.com)

Located in /incubator/Zend/Search/Lucene/Document.php (line 34)


	
			
Variable Summary
 mixed $boost
 array $_fields
Method Summary
 void addField (Zend_Search_Lucene_Field $field)
 Zend_Search_Lucene_Field getField (string $fieldName)
 array getFieldNames ()
 string getFieldValue (mixed $fieldName)
 string __get ($offset $offset)
Variables
mixed $boost = 1.0 (line 45)
  • access: public
array $_fields = array() (line 43)

Associative array Zend_Search_Lucene_Field objects where the keys to the array are the names of the fields.

  • access: protected
Methods
addField (line 66)

Add a field object to this document.

  • access: public
void addField (Zend_Search_Lucene_Field $field)
getField (line 89)

Returns Zend_Search_Lucene_Field object for a named field in this document.

  • access: public
Zend_Search_Lucene_Field getField (string $fieldName)
  • string $fieldName
getFieldNames (line 77)

Return an array with the names of the fields in this document.

  • access: public
array getFieldNames ()
getFieldValue (line 104)

Returns the string value of a named field in this document.

string getFieldValue (mixed $fieldName)
__get (line 55)

Proxy method for getFieldValue(), provides more convenient access to the string value of a field.

  • access: public
string __get ($offset $offset)
  • $offset $offset

Documentation generated on Wed, 08 Mar 2006 04:51:36 -0800 by phpDocumentor 1.3.0RC4