SphinxClient (class)

The SphinxClient class

Introduction

(PECL sphinx >= 0.1.0)

The SphinxClient class provides object-oriented interface to Sphinx.

Class synopsis

SphinxClient {
/* Methods */
public int addQuery ( string $query [, string $index = "*" [, string $comment = "" ]] )
public array buildExcerpts ( array $docs , string $index , string $words [, array $opts ] )
public array buildKeywords ( string $query , string $index , bool $hits )
登录查看完整内容