Re: Retrieving json.facet from a search

2018-06-29 Thread Jason Gerlowski
You might also have luck using the "NoOpResponseParser" https://opensourceconnections.com/blog/2015/01/08/using-solr-cloud-for-robustness-but-returning-json-format/ https://lucene.apache.org/solr/7_0_0/solr-solrj/org/apache/solr/client/solrj/impl/NoOpResponseParser.html (Disclaimer: Didn't try th

Re: Retrieving json.facet from a search

2018-06-28 Thread Yonik Seeley
There isn't typed support, but you can use the generic support like so: .getResponse().get("facets") -Yonik On Thu, Jun 28, 2018 at 2:31 PM, Webster Homer wrote: > I have a fairly large existing code base for querying Solr. It is > architected where common code calls solr and returns a solrj Qu

Retrieving json.facet from a search

2018-06-28 Thread Webster Homer
I have a fairly large existing code base for querying Solr. It is architected where common code calls solr and returns a solrj QueryResponse object. I'm currently using Solr 7.2 the code interacts with solr using the Solrj client api I have a need that would be very easily met by using the json.f