I have more like this query in solr
and I would like to group result based on special field. I used group feature in solr
.
I set:
group = true & group.field = field 1 & group.limit = 3
And I have this query
But as I see more like this does not support group. I use solr 5.3.1
Questions
- How I can group
solr
result? - Why
solr
does not support group?
Use the CollapsingQParser as documented here: https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
For instance, if you want to group for
field1
andlimit 3
as you mentioned: