\Zend_Search_Lucene_Document
A Document is a set of fields. Each field has a name and a textual value.
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_Document
{
- // methods
- public string __get()
- public Zend_Search_Lucene_Document addField()
- public array getFieldNames()
- public Zend_Search_Lucene_Field getField()
- public string getFieldValue()
- public string getFieldUtf8Value()
Members
protected
- $_fields
—
array
Associative array Zend_Search_Lucene_Field objects where the keys to the array are the names of the fields.
public
- $boost
—
float
Field boost factor It's not stored directly in the index, but affects on normalization factor
Methods
public
- __get() — Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
- addField() — Add a field object to this document.
- getField() — Returns Zend_Search_Lucene_Field object for a named field in this document.
- getFieldNames() — Return an array with the names of the fields in this document.
- getFieldUtf8Value() — Returns the string value of a named field in UTF-8 encoding.
- getFieldValue() — Returns the string value of a named field in this document.