Path

ez components / documentation / api reference / 2009.2.1 / search


eZ Components 2009.2.1

Search: ezcSearchHandler

[ Tutorial ] [ Solr schema ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Interface: ezcSearchHandler

Defines interface for all the search backend implementations. [source]

Method Summary

public ezcSearchFindQuery createFindQuery( $type, $definition )
Creates a search query object with the fields from the definition filled in.
public ezcSearchResult find( $query )
Builds the search query and returns the parsed response
public void findById( $id, $definition )
Finds a document by the document's $id

Methods

createFindQuery

ezcSearchFindQuery createFindQuery( string $type, ezcSearchDocumentDefinition $definition )
Creates a search query object with the fields from the definition filled in.

Parameters

Name Type Description
$type string  
$definition ezcSearchDocumentDefinition  

find

Builds the search query and returns the parsed response

Parameters

Name Type Description
$query ezcSearchFindQuery  

findById

void findById( mixed $id, ezcSearchDocumentDefinition $definition )
Finds a document by the document's $id

Parameters

Name Type Description
$id mixed  
$definition ezcSearchDocumentDefinition  

Last updated: Tue, 23 Mar 2010