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) 2005-2007 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 = null])
 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 = null])
  • $text
  • $field
key (line 69)

Returns term key

  • access: public
string key ()

Documentation generated on Thu, 18 Jan 2007 09:59:47 -0800 by phpDocumentor 1.3.1