You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2015/06/26 13:11:05 UTC

[jira] [Commented] (SOLR-7724) Clustering Component results parsing

    [ https://issues.apache.org/jira/browse/SOLR-7724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602705#comment-14602705 ] 

Dawid Weiss commented on SOLR-7724:
-----------------------------------

Will review the patch if you provide it, grazie Alessandro.

> Clustering Component results parsing
> ------------------------------------
>
>                 Key: SOLR-7724
>                 URL: https://issues.apache.org/jira/browse/SOLR-7724
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>    Affects Versions: 5.2.1
>            Reporter: Alessandro Benedetti
>            Priority: Minor
>              Labels: clustering, clusters, queryResponse
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Currently SolrJ org.apache.solr.client.solrj.response.QueryResponse is not managing clusters coming from the Clustering Component .
> It would be nice to have the clusters properly managed and returned with simply getter methods.
> Current Json :
> "clusters":[{
>       "labels":["label1"],
>       "score":14.067292538482793,
>       "docs":["id1",
>         "id2",
> "id3"]
> },
>     {
>       "labels":["label2"],
>       "score":16.932201244715046,
>       "docs":["id1",
>         "id2",
>         "id3"]}]}
> This will be parsed accordingly .
> Producing an easy to use Java List.
> Clusters



--
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