## Zend_Search_Lucene_Index_Term

Description

A Term represents a word from text. This is the unit of search. It is composed of two elements, the text of the word, as a string, and the name of the field that the text occured in, an interned string.

Note that terms may represent more than words from text fields, but also things like dates, email addresses, urls, etc.

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

Located in /Zend/Search/Lucene/Index/Term.php (line 37)

Variable Summary
mixed $field
string $text
Method Summary
Zend_Search_Lucene_Index_Term __construct ( $text, [ $field = 'contents'])
void key ()
Variables
mixed $field (line 44)

Field name or field number (depending from context)

- access: public

string $text (line 51)

Term value

- access: public

Methods
Constructor __construct (line 57)

- access: public
- todo: docblock

Zend_Search_Lucene_Index_Term __construct ( $text, [ $field = 'contents'])

- $text
- $field

key (line 67)

- access: public
- todo: docblock

void key ()

Documentation generated on Tue, 11 Jul 2006 12:18:12 -0500 by phpDocumentor 1.3.0RC6