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 Phi Hoang Hai <ph...@gmail.com> on 2014/06/09 18:11:58 UTC

How use gorup and facet ?

Dear Solr expert.
I have 2 problems need your help.
1) I have to group list with group.limit=1&group.main=true&group.sort=Date
desc (many group and each group has 1 element is newest). Then from list
group (each group has 1 element), I want to filter in order to remove items
(in groups) not matches condition. Could you tell me the way with 1
statement in order to query ?
2) How could I facet and show all records of each facet with 1 statement ?

Thanks you.

Hai