require_once './lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; $docs = $search->search('cat_ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods...
require_once './lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; $docs = $search->search('cat_ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods...
index=self 是对的。 你的cat_id是数字吗? getAddTerms 打印出看下。 如果有index,有term。查不出应该是不可能的.
...印出是[/color][color=#FF0000]null[/color] 为什么是null呢?这样就查不出东西啦 help~~~:huh::huh::huh: --------------------------------- [num] type=numeric tokenizer = none index = none 这是索引配置文件 求助~~~~ ...
...是数字吗? getAddTerms 打印出看下。 如果有index,有term。查不出应该是不可能的. [/quote] [quote] $search->setQuery($array['word'])->setSort($array['sort'])->setLimit($array['limit'], $array['offset'])->search(); [/quote] 做了这样 [quote] $search->setSort($arra...