Hello, Was wondering how to access the cluster labels, and docs(ids) via SolrJ?
I have added the following: query.seParam("q", userQuery); query.setParam("clustering", true); query.setParam("qt", "/core2/clustering"); query.setParam("carrot.title", "title"); But how to access the labels, docs in the clusters and display in a search result? Also, I've seen others specify clustering in this manner... ModifiableSolrParams params = new ModifiableSolrParams(); params.set("qt", "/core2/clustering"); params.set("q", userQuery); params.set("carrot.title", "title"); params.set("clustering", "true"); Is this preferred over the other? Thanks