sunspot/sunspot — pull request #129 by pcg79 (2011-11-28 22:28:43+00:00)
Title: Added ability to change PaginatedCollection's total_count/total_entries

In sunspot_rails 1.2.1 we had the ability to change the result collection's total_entries amount. This allowed us to limit the number of returned results so our users didn't get overwhelmed seeing 65K pages.

The ability to do this was removed in 1.3. This patch returns that ability. A couple of simple tests were added and all the tests pass with this change.

Thank you.