[ Index ]

PHP Cross Reference of Moodle

title

Body

[close]

/search/Zend/Search/Lucene/ -> Field.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 146 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Search_Lucene_Field:: (6 methods):
  __construct()
  Keyword()
  UnIndexed()
  Binary()
  Text()
  UnStored()


Class: Zend_Search_Lucene_Field  - X-Ref

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.

__construct($name, $stringValue, $isStored, $isIndexed, $isTokenized, $isBinary = false)   X-Ref
No description

Keyword($name, $value)   X-Ref
Constructs a String-valued Field that is not tokenized, but is indexed
and stored.  Useful for non-text fields, e.g. date or url.

param: string $name
param: string $value
return: Zend_Search_Lucene_Field

UnIndexed($name, $value)   X-Ref
Constructs a String-valued Field that is not tokenized nor indexed,
but is stored in the index, for return with hits.

param: string $name
param: string $value
return: Zend_Search_Lucene_Field

Binary($name, $value)   X-Ref
Constructs a Binary String valued Field that is not tokenized nor indexed,
but is stored in the index, for return with hits.

param: string $name
param: string $value
return: Zend_Search_Lucene_Field

Text($name, $value)   X-Ref
Constructs a String-valued Field that is tokenized and indexed,
and is stored in the index, for return with hits.  Useful for short text
fields, like "title" or "subject". Term vector will not be stored for this field.

param: string $name
param: string $value
return: Zend_Search_Lucene_Field

UnStored($name, $value)   X-Ref
Constructs a String-valued Field that is tokenized and indexed,
but that is not stored in the index.

param: string $name
param: string $value
return: Zend_Search_Lucene_Field



Generated: Wed Nov 14 17:38:08 2007 Cross-referenced by PHPXref 0.7