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.

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


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

Field name or field number (depending from context)

  • access: public
string $text (line 49)

Term value

  • access: public
Methods
Constructor __construct (line 55)
  • access: public
  • todo: docblock
Zend_Search_Lucene_Index_Term __construct (mixed $text, [mixed $field = 'contents'])
key (line 65)
  • access: public
  • todo: docblock
void key ()

Documentation generated on Tue, 18 Apr 2006 11:55:44 -0700 by phpDocumentor 1.3.0RC3