Can Lucene counts documents after having grouped them by a NumericField?
Only counting, not loading all documents content.
Can Lucene counts documents after having grouped them by a NumericField?
Only counting, not loading all documents content.
Faceting queries may be what you are after. Specifically a range faceting query.