You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alessandro Benedetti (JIRA)" <ji...@apache.org> on 2015/07/15 00:27:05 UTC
[jira] [Updated] (SOLR-7719) Suggester Component results parsing
[ https://issues.apache.org/jira/browse/SOLR-7719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessandro Benedetti updated SOLR-7719:
---------------------------------------
Flags: Patch
> Suggester Component results parsing
> -----------------------------------
>
> Key: SOLR-7719
> URL: https://issues.apache.org/jira/browse/SOLR-7719
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Affects Versions: 5.2.1
> Reporter: Alessandro Benedetti
> Assignee: Tommaso Teofili
> Priority: Minor
> Labels: queryResponse, suggester, suggestions
> Attachments: SOLR-7719.patch, SOLR-7719.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org