Zend_Search_Lucene_FieldA field is a section of a Document. Each field has two parts,
a name and a value. Values may be free text or they may be atomic keywords, which are not further processed. Such keywords may be used to represent dates, urls, etc. Fields are optionally stored in the index, so that they may be returned with hits on the document.
Located in /Zend/Search/Lucene/Field.php (line 37)
Zend_Search_Lucene_Field
__construct
(string $name, string $value, string $encoding, boolean $isStored, boolean $isIndexed, boolean $isTokenized, [boolean $isBinary = false])
float
$boost
= 1.0 (line 61)
Field boos factor It's not stored directly in the index, but affects on normalizetion factor
string
$encoding
(line 68)
Field value encoding.
mixed
$isBinary
= false (line 51)
mixed
$isIndexed
= true (line 49)
mixed
$isStored
= false (line 48)
mixed
$isTokenized
= true (line 50)
string
$name
(line 44)
Field name
mixed
$storeTermVector
= false (line 53)
mixed
$value
(line 47)
static Binary (line 142)
Constructs a Binary String valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
static Keyword (line 112)
Constructs a String-valued Field that is not tokenized, but is indexed and stored. Useful for non-text fields, e.g. date or url.
static Text (line 157)
Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits. Useful for short text fields, like "title" or "subject". Term vector will not be stored for this field.
static UnIndexed (line 127)
Constructs a String-valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
static UnStored (line 172)
Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
Constructor __construct (line 81)
Object constructor
getUtf8Value (line 182)
Get field value in UTF-8 encoding
Documentation generated on Wed, 21 Feb 2007 11:47:40 -0800 by phpDocumentor 1.3.1