With the example application and data, this causes an exception (just
adding &wt=json to an example from the facet wiki page):
<http://localhost:8983/solr/select?
q=ipod&rows=0&facet=true&facet.limit=-1&facet.field=cat&f.cat.facet.miss
ing=true&facet.mincount=1&facet.field=inStock&wt=json>
SEVERE: java.lang.NullPointerException
at org.apache.solr.request.JSONWriter.writeStr
(JSONResponseWriter.java:469)
This works in XML because it writes <int>0</int>. Didn't it use to
write out <int name="">0</int>?
I'm ok with a null/nil value being written out as '' for my cases.
I'll fix it up locally and report back.
Erik