You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vineeth mohan <vm...@gmail.com> on 2013/11/06 11:37:22 UTC
Grouping on MLT results
Hi ,
I need to find similar documents to a document and also group the result
based on a field say category.
I could find the MLT handler and I could find the grouping feature.
- MLT handler - http://wiki.apache.org/solr/MoreLikeThisHandler
- Grouping - http://wiki.apache.org/solr/FieldCollapsing
But I couldn't find a way to apply the grouping on the response given by
MLT handler. Is there any way I can achieve this ?
Just adding grouping variables to the MLT handler didn't help
http://$HOST:8983/solr/collection1/mlt?q=id:SP2514N&wt=json&indent=true&mlt.fl=name&mlt.mintf=1&mlt.mindf=0&group=true&group.field=manu_id_s
Let me know , what can be done about it.
Thanks
Vineeth