See title. Here's my query code:
val result = solrClient
.query("content:%term% description:%term% tags:%term%")
.fields("id")
.facetFields()
.sortBy("created", Order.desc)
.getResultAsMap(Map("term" -> term))
If I remove .facetFields(), then getResultAsMap throws a null-pointer exception.
See title. Here's my query code: val result = solrClient .query("content:%term% description:%term% tags:%term%") .fields("id") .facetFields() .sortBy("created", Order.desc) .getResultAsMap(Map("term" -> term))
If I remove .facetFields(), then getResultAsMap throws a null-pointer exception.