Hello, First, thank you for the quick answer.
Second, This is exactly my current problem. I'm doing this with 2 queries, but with the current performance issues, I want to change the implementation. Now I am using grouping and then I take the count and set that count to the all grouped documents (as a field). And after that, I did another query to get all documents with a query based on document type and having that group count in a specific range. The issue description, is exactly what I want. I saw that yesterday, but sadly, wasn't updated for a long time :| . Thank you for your answer, You're welcome with an answer that could help. Have a nice day, Andrei -- View this message in context: http://lucene.472066.n3.nabble.com/Get-groups-which-has-the-number-of-elements-greater-than-tp4174352p4174694.html Sent from the Solr - User mailing list archive at Nabble.com.