【发布时间】:2013-08-29 07:28:00
【问题描述】:
我的 sphinx 配置中有 sql_attr_uint = category。
如何在 sphinxapi 中使用 sql_attr_uint 过滤结果?
例如,我想根据test 对结果进行排序,其中类别为13 or 23 or 77
$results = $sp->Query("test", "index"]);
【问题讨论】:
-
$query 的值是多少?
-
@Lee
test- 搜索词。我现在不知道要包含category过滤器
标签: php mysql api search sphinx