GitHub user aparnard opened a pull request: https://github.com/apache/incubator-geode/pull/178
GEODE-11: Pagination of Lucene query results after entries are destroyed from the region If a region entry is destroyed after a query is executed, the pages.next() call returns a null Value for the deleted entry. The code is changed to ignore deleted entries and fetch the next available entry so that the page count remains consistant. Added tests to verify scenarios of single, multiple and all region entry deletions. Added a test to verify that all entries are fetched in one page when pagination is disabled. Signed-off-by: Anilkumar Gingade <aging...@pivotal.io> You can merge this pull request into a Git repository by running: $ git pull https://github.com/aparnard/incubator-geode feature/GEODE-11-PaginationTests Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-geode/pull/178.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #178 ---- commit d18be07b82d33bef5e060acc66b8d5ae1abedff1 Author: Aparna Dharmakkan <adharmak...@pivotal.io> Date: 2016-06-29T23:06:38Z GEODE-11: Pagination of Lucene Query Results after entries are destroyed from the region If a region entry is destroyed after a query is executed, the pages.next() call returns a null value for the deleted entry. The code is changed to ignore deleted entries and fetch the next available entry so that the page count remains consistent. Added tests to verify scenarios of single, multiple and all region entry deletions. Added a test to verify that all entries are fetched in one page when pagination is disabled. Signed-off-by: Anilkumar Gingade <aging...@pivotal.io> ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---