coreseek环境已经搭建好了,也可以搜索出结果。
但是我不知道我搜到的是针对表里面个字段取出的结果。
sphinx.conf:
sql_query_info      = \
        SELECT * FROM threads WHERE tid=$idsql_query           = \
        SELECT tid id, fid,  authorid , authorid ,  mtime, subject , 
        FROM threads连接数据库没有问题,问题我  php test.php  标题
这个标题传进去后搜索的是那个字段? 我怎么设置,以及在sphinx如何设置搜索的权重。
解决问题就给分,谢谢大牛。