首页新闻找找看学习计划

"index refer: sort-by attribute 'content desc' not found" sphinx报错:

0
悬赏园豆:50 [已关闭问题] 关闭于 2018-05-14 18:59

"index refer: sort-by attribute 'content desc' not found"

 

 

我的配置是:

sql_query = SELECT id,title,title as attr_title,content,content as attr_content,create_time,work from refer 
sql_attr_bigint = id
sql_attr_bigint = work
sql_attr_string = title
sql_field_string = content
sql_attr_timestamp = create_time

调用的方法为:

$this->SetSortMode(SPH_SORT_ATTR_ASC,'content DESC')

 

myvic的主页 myvic | 菜鸟二级 | 园豆:210
提问于:2018-04-09 17:46
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册