Defines interface for all the search backend implementations.
Source for this file: /Search/src/interfaces/handler.php
Version: | //autogentag// |
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 |
Creates a search query object with the fields from the definition filled in.
Name | Type | Description |
---|---|---|
$type |
string | |
$definition |
ezcSearchDocumentDefinition |
Builds the search query and returns the parsed response
Name | Type | Description |
---|---|---|
$query |
ezcSearchFindQuery |
Finds a document by the document's $id
Name | Type | Description |
---|---|---|
$id |
mixed | |
$definition |
ezcSearchDocumentDefinition |