摘要:
这几天在做Sphinx集成Drupal进行全文检索的功能测试,一些关键点记录下来,防止自己忘记了1、sql_query 的SELECT 后面的第一个列就为sphinx的id,拿drupal来举例,如果是SELECT n.vid AS vid, n.nid as nid,id就为vid,如果是SELECT n.nid as nid, n.vid AS vid,id就是nid2、关于sql_attr_multi属性的配置:sql_attr_multi = uint tid from query; SELECT vid, tid FROM term_node这里的uint tid from quer
阅读全文
posted @ 2013-07-04 08:01
merryfreespace
阅读(351)
推荐(0)
编辑