Solr fieldcollapsing and max group .limit

I am using Solr 3.4 and FieldCollapsing . I would like to group all posts using FieldCollapsing.

By default, each group contains only 1 message.

I can change the number of documents per group by changing the group.limit parameter. This is a bit inconvenient for grouping all available messages into specific groups.

Is there any way to set group.limit to infinity?

The current workaround is to set group.limit to a very high value, which is not a satisfactory solution.

+2
source share
1 answer

You can set group.limit to -1 . Then you will get endless documents for each group.

+4
source

All Articles