Docs For Class Zend_Search_Lucene_Index_Term

## Class 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'])
string 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)

Object constructor

- access: public

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

- $text
- $field

key (line 69)

Returns term key

- access: public

string key ()

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