downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SphinxClient::setFilterFloatRange> <SphinxClient::setFieldWeights
[edit] Last updated: Fri, 25 May 2012

view this page in

SphinxClient::setFilter

(PECL sphinx >= 0.1.0)

SphinxClient::setFilter增加整数值过滤器

说明

public bool SphinxClient::setFilter ( string $attribute , array $values [, bool $exclude = false ] )

在已有的过滤器列表中添加新的过滤器.

参数

attribute

属性名称.

values

整数值数组.

exclude

如果设置为 TRUE, 则匹配该过滤规则的文档会被排除在结果之外.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.



add a note add a note User Contributed Notes SphinxClient::setFilter
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites