sitecorian/SitecoreSearchContrib — pull request #18 by ambrauer (2013-03-01 23:38:13+00:00)
Title: Fix SearchHits.FetchResults second parameter (end vs count)

When retrieving paged search results, any page other than the first and last will return more items than it should.

For example, a search resulting in 50 items, page size 10 would go like this:
Page 1 (start=0, end=10) => items 1-10 (ok)
Page 2 (start=10, end=20) => items 10-30 (wrong)
Page 3 (start=20, end=30) => items 20-50 (wrong)
Page 4 (start=30, end=40) => items 30-50 (wrong)
Page 5 (start=40, end=50) => items 40-50 (ok)