sphinx 中的排序结果?
有没有一种简单的方法来对 sphinx 结果进行排序?
最近发布(按日期) 最高报酬(最高价值)
Is there an easy way to sort sphinx results?
Recently posted (by dates)
Highest paid (highest value)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Sphinx 有排序模式:http://sphinxsearch.com /docs/current.html#sorting-modes,您需要的是SPH_SORT_ATTR_DESC模式 & SPH_SORT_ATTR_ASC 模式
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
您的意思是超出 order by 子句吗?
Do you mean beyond the order by clause?