Please help to filter of group.limit

2014-08-18 Thread Phi Hoang Hai
Dear everyone.
My problem have 2 query
1) Get top 1 of each group (group.limit = 1 AND group.sort = date desc &
group.field=ABC)
2) Filter to get document of each group match condition. If document don't
match condition then remove of list result.

Help me.
Thanks you.

Hải


How use gorup and facet ?

2014-06-09 Thread Phi Hoang Hai
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