The solr schema has the fields, id, name and desc. I would like to get docs:["name Field here" ] instead of the doc Id field as in "docs":["200066", "195650",
On Wednesday, August 18, 2010, Stanislaw Osinski <stanislaw.osin...@carrotsearch.com> wrote: > 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 >