开发者

Can Solr results be grouped and limited to a subset of each group?

I'd like to display the top 5 results from diffe开发者_高级运维rent content types stored in Solr. Is it possible to group by a defined field and limit each group to a number of results, similarly to a "first N rows" SQL query?

Thanks!


Take a look at Field collapsing / Result grouping.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜