On 11/29/2018 2:01 PM, Thomas L. Redman wrote:
Hi! I am wanting to do nested facets/Grouping/Expand-Collapse using SolrJ, and
I can find no API for that. I see I can add a pivot field, I guess to a query
in general, but that doesn’t seem to work at all, I get an NPE. The
documentation on SolrJ is sorely lacking, the documentation I have found is
less than a readme. Are there any books that provided a good tretise on SolrJ
specifically? Does SolrJ support these more advanced features?
I don't have any specific details for that use case.
If you share the code that gives you NPE, somebody might be able to help
you get it working.
The best place to find documentation for SolrJ is actually SolrJ itself
-- the javadocs. Much of that can be accessed pretty easily if you are
using an IDE to do your development. Here is a link to the top level of
the SolrJ javadocs:
https://lucene.apache.org/solr/7_5_0/solr-solrj/index.html
There's some documentation here, in the official reference guide:
https://lucene.apache.org/solr/guide/7_5/using-solrj.html
and here:
https://wiki.apache.org/solr/Solrj
If you get the PDF version of the reference guide, there are SolrJ
examples sprinkled throughout the entire document to cover specific
usages, although I do not think there's much for what you're asking
about specifically. More SolrJ examples is something the reference
guide could definitely use.
Thanks,
Shawn