Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7724

Clustering Component results parsing

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        1. SOLR-7724.patch
          15 kB
          Alessandro Benedetti
        2. SOLR-7724.patch
          15 kB
          Alessandro Benedetti

        Activity

          People

            dweiss Dawid Weiss
            abenedetti Alessandro Benedetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified