开发者

Sorting results in sphinx?

Is there an easy way to sort开发者_运维百科 sphinx results?

Recently posted (by dates) Highest paid (highest value)


Sphinx has sorting-modes: http://sphinxsearch.com/docs/current.html#sorting-modes, what you need is SPH_SORT_ATTR_DESC mode & SPH_SORT_ATTR_ASC mode


Do you mean beyond the order by clause?

select *
from mytable 
order by 1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜