sphinxsearch在字符串

时间:2018-06-14 21:01:25

标签: php sphinx

我使用Sphinx Search找到了问题:

我有一个逗号分隔数字的组列:

ID Groups
1  1,404,230,4502,180
2  1,05,30,4504,1120

现在我试图提出请求:

$p = $s->query('@groups 30, 'products'); 

获得2个结果,其中ID = 1(字符串中为230)和2(字符串中为30); 我怎样才能得到ID = 2?

谢谢!

0 个答案:

没有答案