2
votes

I'm using Solr 3.4 and FieldCollapsing. I would like to group all messages using FieldCollapsing.

Per default, every group contains only 1 message.

I can modify the numbers of documents per group by changing the Parameter group.limit. That's a bit inconveniently for grouping all available messages to specific groups.

Is there a way to set group.limit to infinite?

The current workaround is to set group.limit to an very high value, which isn't an satisfying solution.

1
Altough Solr is very good at finding the top documents that match a query, it is bad at retrieving lots of documents. What is your use case ? Does your data reside somewhere else (text files? a database?) where this partition could be performed more efficiently? - jpountz

1 Answers

4
votes

You can set group.limit to -1. Then you will get infinite documents per group.