eZ Publish  [4.0]
eZSearch Class Reference

eZSearch handles indexing of objects to the search engine More...

List of all members.

Public Member Functions

 eZSearch ()

Static Public Member Functions

static addObject ($contentObject)
static buildSearchArray ()
static cleanup ()
static getEngine ()
static normalizeText ($text)
static removeObject ($contentObject)
static search ($searchText, $params, $searchTypes=array())

Detailed Description

eZSearch handles indexing of objects to the search engine

Definition at line 40 of file ezsearch.php.


Member Function Documentation

static eZSearch::addObject ( contentObject) [static]

Will index the content object to the search engine.

Definition at line 67 of file ezsearch.php.

static eZSearch::buildSearchArray ( ) [static]

returns search parameters in array based on supported search types and post variables

Definition at line 110 of file ezsearch.php.

static eZSearch::cleanup ( ) [static]

Tells the current search engine to cleanup up all data.

Definition at line 399 of file ezsearch.php.

eZSearch::eZSearch ( )

Definition at line 44 of file ezsearch.php.

static eZSearch::getEngine ( ) [static]

Get object instance of eZSearch engine to use.

Returns:
instance of eZSearch class.

Definition at line 415 of file ezsearch.php.

Referenced by addObject(), buildSearchArray(), cleanup(), normalizeText(), removeObject(), and search().

static eZSearch::normalizeText ( text) [static]

Definition at line 94 of file ezsearch.php.

static eZSearch::removeObject ( contentObject) [static]

Will remove the index from the given object from the search engine

Definition at line 53 of file ezsearch.php.

static eZSearch::search ( searchText,
params,
searchTypes = array() 
) [static]

Runs a query to the search engine.

Definition at line 81 of file ezsearch.php.


The documentation for this class was generated from the following file: