You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by vineeth mohan <vm...@gmail.com> on 2013/11/06 03:16:06 UTC
Use grouping on MLT results from MLT handler
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
Re: Use grouping on MLT results from MLT handler
Posted by Furkan KAMACI <fu...@gmail.com>.
This should be a user-list question rather than dev-list.
6 Kasım 2013 Çarşamba tarihinde vineeth mohan <vm...@gmail.com>
adlı kullanıcı şöyle yazdı:
> 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