lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanislaw Osinski <stanislaw.osin...@carrotsearch.com>
Subject Re: specifying the doc id in clustering component
Date Thu, 19 Aug 2010 06:19:58 GMT
Hi Tommy,

 I'm using the clustering component with solr 1.4.
>
> The response is given by the id field in the doc array like:
>        "labels":["Devices"],
>        "docs":["200066",
>         "195650",
>         "204850",
> Is there a way to change the doc label to be another field?
>
> i couldn't this option in http://wiki.apache.org/solr/ClusteringComponent


I'm not sure if I get you right. The "labels" field is generated by the
clustering engine, it's a description of the group (cluster) of documents.
The description is usually a phrase or a number of phrases. The "docs" field
lists the ids of documents that the algorithm assigned to the cluster.

Can you give an example of the input and output you'd expect?

Thanks!

Stanislaw

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message