A 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.
category | Zend |
---|---|
package | Zend_Search_Lucene |
subpackage | Document |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $name, string $value, string $encoding, boolean $isStored, boolean $isIndexed, boolean $isTokenized, boolean $isBinary = false
)
string
string
string
boolean
boolean
boolean
boolean
binary(string $name, string $value) : \Zend_Search_Lucene_Field
string
string
\Zend_Search_Lucene_Field
getUtf8Value() : string
string
keyword(string $name, string $value, string $encoding = ''
) : \Zend_Search_Lucene_Field
string
string
string
\Zend_Search_Lucene_Field
text(string $name, string $value, string $encoding = ''
) : \Zend_Search_Lucene_Field
string
string
string
\Zend_Search_Lucene_Field
unIndexed(string $name, string $value, string $encoding = ''
) : \Zend_Search_Lucene_Field
string
string
string
\Zend_Search_Lucene_Field
unStored(string $name, string $value, string $encoding = ''
) : \Zend_Search_Lucene_Field
string
string
string
\Zend_Search_Lucene_Field
$boost : float
1.0
$encoding : string
$isBinary : boolean
false
$isIndexed : boolean
true
$isStored : boolean
false
$isTokenized : boolean
true
$name : string
$storeTermVector : boolean
false
$value : boolean