开发者

How to get combine results of all models using sphinx search

Recently i have implemented django-sphinx search on my website. It is working fine of each separate model. But now my client requirement has changed. He wants to display result as "Title" first from matching query then description and soon. But i think sphinx give result specific to each model but not gives combine result of all models.

So can anyone help me how to display "Title" from matching query as first and then description and soon from results of all models.开发者_开发问答


I don't understand your question. Maybe you need to get result like queryset of real objects: [, ...etc] ?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜