Re: SolrJ doesn't work with Json facet api

2017-01-05 Thread Sandeep Khanzode
For me, these variants have worked ... solrQuery.add("json.facet", "..."); solrQuery.setParam("json.facet", "...");   You get ... QueryResponse.getResponse().get("facets"); SRK On Thursday, January 5, 2017 1:19 PM, Jeffery Yuan wrote: Thanks for your response. We definitely use solrQ

Re: SolrJ doesn't work with Json facet api

2017-01-04 Thread Jeffery Yuan
Thanks for your response. We definitely use solrQuery.set("json.facet", "the json query here"); Btw we are using Solr 5.2.1. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4312459.html Sent from the Solr - User mailing lis

Re: SolrJ doesn't work with Json facet api

2016-10-05 Thread shamik
You can try something like : query.add("json.facet", your_json_facet_query); -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-doesn-t-work-with-Json-facet-api-tp4299867p4299888.html Sent from the Solr - User mailing list archive at Nabble.com.

SolrJ doesn't work with Json facet api

2016-10-05 Thread Jeffery Yuan
It seems that Solr returns different format when use Json facet api compared with the old syntax Thus solrj facet related api will not work when use Json facet api rsp.getFacetField("myFeild") is null The Json API is easier to use, its response is cleaner. But it would be even better if it works