Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.2.1
Description
Currently SolrJ org.apache.solr.client.solrj.response.QueryResponse is not managing suggestions coming from the Suggest Component .
It would be nice to have the suggestions properly managed and returned with simply getter methods.
Current Json :
<lst name="suggest">
<lst name="dictionary1">
<lst name="queryTerm">
<int name="numFound">2</int>
<arr name="suggestions">
<lst>
<str name="term">suggestion1</str>..
<str name="term">suggestion2</str>…
</lst>
</arr>
</lst>
</lst>..
This will be parsed accordingly .
Producing an easy to use Java Map.
Dictionary2suggestions