SphinxClient::__construct

(PECL sphinx >= 0.1.0) Create a new SphinxClient object public SphinxClient::__construct ( void ) Creates a new SphinxClient object.

SphinxClient::close

(PECL sphinx >= 1.0.3) Closes previously opened persistent connection public bool SphinxClient::close ( void ) Closes previously opened persistent connection. Returns: Returns TRUE on success or FALSE on failure. Changelog: 1.0.3 Added SphinxClient::close(), available only if compiled with libsphinxclient >= 0.9.9.

SphinxClient::buildKeywords

(PECL sphinx >= 0.1.0) Extract keywords from query public array SphinxClient::buildKeywords ( string $query, string $index, bool $hits ) Extracts keywords from query using tokenizer settings for the given index, optionally with per-keyword occurrence statistics. Parameters: query A query to extract keywords from. index An index to ge

SphinxClient::buildExcerpts

(PECL sphinx >= 0.1.0) Build text snippets public array SphinxClient::buildExcerpts ( array $docs, string $index, string $words [, array $opts ] ) Connects to searchd, requests it to generate excerpts (snippets) from the given documents, and returns the results. Parameters: docs Array of strings with documents' contents. index Index

SphinxClient::addQuery

(PECL sphinx >= 0.1.0) Add query to multi-query batch public int SphinxClient::addQuery ( string $query [, string $index = "*" [, string $comment = "" ]] ) Adds query with the current settings to multi-query batch. This method doesn't affect current settings (sorting, filtering, grouping etc.) in any way. Parameters: query Query string. index

SolrIllegalOperationException::getInternalInfo

(PECL solr >= 0.9.2) Returns internal information where the Exception was thrown public array SolrIllegalOperationException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers. This function

SolrIllegalArgumentException::getInternalInfo

(PECL solr >= 0.9.2) Returns internal information where the Exception was thrown public array SolrIllegalArgumentException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers. This function i

SolrServerException::getInternalInfo

(PECL solr >= 1.1.0, >=2.0.0) Returns internal information where the Exception was thrown public array SolrServerException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers.

SolrClientException::getInternalInfo

(PECL solr >= 0.9.2) Returns internal information where the Exception was thrown public array SolrClientException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers.

SolrException::getInternalInfo

(PECL solr >= 0.9.2) Returns internal information where the Exception was thrown public array SolrException::getInternalInfo ( void ) Returns internal information where the Exception was thrown. Returns: Returns an array containing internal information where the error was thrown. Used only for debugging by extension developers.