Re: specifying the doc id in clustering component

2010-08-20 Thread Tommy Chheng
Yes, that's the approach I'm taking right now. I do a lookup the doc ids in the resultset to find the matching document. I can live with the manual lookup, I wanted to see if it would be possible to pick a custom field to represent the document in the docs array. Thanks for contributing the

Re: specifying the doc id in clustering component

2010-08-19 Thread Stanislaw Osinski
> 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", > The idea behind using the document ids was that based on them you could access the individual documents' content, inc

Re: specifying the doc id in clustering component

2010-08-19 Thread Tommy Chheng
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 wrote: > Hi Tommy, > >  I'm using the clustering component with solr 1.4. >>

Re: specifying the doc id in clustering component

2010-08-18 Thread Stanislaw Osinski
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

specifying the doc id in clustering component

2010-08-14 Thread Tommy Chheng
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