©
本文檔使用 php中文網手册 發布
(PECL sphinx >= 0.1.0)
SphinxClient 为 Sphinx 提供了面向对象的接口.
$query
[, string $index
= "*"
[, string $comment
= ""
]] )$docs
, string $index
, string $words
[, array $opts
] )$query
, string $index
, bool $hits
)$string
)$query
[, string $index
= "*"
[, string $comment
= ""
]] )$array_result
= false
)$timeout
)$weights
)$attribute
, array $values
[, bool $exclude
= false
] )$attribute
, float $min
, float $max
[, bool $exclude
= false
] )$attribute
, int $min
, int $max
[, bool $exclude
= false
] )$attrlat
, string $attrlong
, float $latitude
, float $longitude
)$attribute
, int $func
[, string $groupsort
= "@group desc"
] )$attribute
)$min
, int $max
)$weights
)$offset
, int $limit
[, int $max_matches
= 0
[, int $cutoff
= 0
]] )$mode
)$qtime
)$attribute
, int $type
, array $values
)$ranker
)$count
[, int $delay
= 0
] )$clause
)$server
, int $port
)$mode
[, string $sortby
] )$index
, array $attributes
, array $values
[, bool $mva
= false
] )