查询中的Sphinx属性

查询中的Sphinx属性,sphinx,Sphinx,有没有办法用OR条件搜索字符串和浮点属性?我试过这个: $s->SetServer('localhost', 3312); $s->SetMatchMode(SPH_MATCH_EXTENDED2); $s->SetArrayResult(false); $s->SetLimits ( ($page-1)*$onsite, $onsite ); $s->SetSortMode(SPH_SORT_EXTENDED, '@id DESC'); $s->Query(

有没有办法用OR条件搜索字符串和浮点属性?我试过这个:

$s->SetServer('localhost', 3312);
$s->SetMatchMode(SPH_MATCH_EXTENDED2);
$s->SetArrayResult(false);
$s->SetLimits ( ($page-1)*$onsite, $onsite );
$s->SetSortMode(SPH_SORT_EXTENDED, '@id DESC');
$s->Query('@city "London" | floatrange=lat,51.0,51.2');
这和-看起来非常相似吗?