我可以只用没有查询词的属性搜索狮身人面像吗
配置:
sql_query = SELECT p.ID as price_id, p.info, p.sort_id, p.made_id, p.category_id, 'prices' as table_id FROM price AS p
sql_query_info = SELECT * FROM price WHERE ID = $id
sql_attr_uint = sort_id
...
min_word_len = 0
min_infix_len = 0
min_prefix_len = 0
enable_star = 1
docinfo = extern
代码:
$search->SetFilter('sort_id',[1,2]);
$search->Query("*","prices");
获得 0 个结果