Solr - Getting facet counts without returning search results

前端 未结 3 1441
逝去的感伤
逝去的感伤 2020-12-29 02:20

I need to return only the facet counts from solr. So I basically want to search over all documents and return the facet counts, but I don\'t want to return any search result

3条回答
  •  盖世英雄少女心
    2020-12-29 02:56

    I guess the obvious solution would be to search using a wildcard and specify that you want zero results returned.

    That's my solution so far.

提交回复
热议问题