SphinxClient::buildExcerpts
(No version information available, might be only in CVS)
SphinxClient::buildExcerpts — Build text snippets
Description
public array SphinxClient::buildExcerpts ( array $docs , string $index , string $words [, array $opts ] )
Parameters
- docs
-
Array of strings with documents' contents.
- index
-
Index name.
- words
-
Keywords to highlight.
- opts
-
Associative array of additional highlighting options (see below).
Return Values
Returns array of snippets on success, or FALSE on failure.