You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Michael Joyner <mi...@newsrx.com> on 2016/11/22 16:55:40 UTC

A good way to extract "facets" from json.facet response via solrj?

Hello all,

It seems I can't find a "getFacets" method for SolrJ when handling a 
query response from a json.facet call.

I see that I can get a top level opaque object via "Object obj = 
response.getResponse().get("facets");"

Is there any code in SolrJ to parse this out as an easy to use navigable 
object?

-Mike