Hello:
   I tried to use Collapsing Query Parser per following link:

https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
here is the query I am using
http://<host_name>/solr/collection/select?q=groupId:*&
fl=id,groupId,date&fq=%7B!collapse%20field=groupId%20sort=%27id%20asc%27%7D&
expand=true&expand.rows=3&sort=date%20asc&expand.sort=id%20asc&rows=3

but I found the result is different from group query:
http://<host_name>/solr/collection/select?q=groupId:*&
fl=id,date,groupId&group=true&group.field=groupId&group.
limit=4&group.ngroups=true&sort=date%20asc&group.sort=id%20asc&rows=3

it seems sort across collapsed document is not working.

Can anyone help on this?

Reply via email to