Docs For Class Zend_Search_Lucene_Document

## Class Zend_Search_Lucene_Document

Description

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

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

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

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 ( $fieldName)
string __get (mixed $offset)
Variables
mixed $boost = 1.0 (line 47)

- access: public

array $_fields = array() (line 45)

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

- access: protected

Methods
addField (line 68)

Add a field object to this document.

- access: public

void addField (Zend_Search_Lucene_Field $field)

- Zend_Search_Lucene_Field $field

getField (line 91)

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 79)

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

- access: public

array getFieldNames ()
getFieldValue (line 106)

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

- access: public
- see: Zend_Search_Lucene_Document::__get()

string getFieldValue ( $fieldName)

- $fieldName

__get (line 57)

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

- access: public

string __get (mixed $offset)

Documentation generated on Sun, 29 Oct 2006 21:27:08 -0600 by phpDocumentor 1.3.0RC6