Barry Oglesby created GEODE-2982: ------------------------------------ Summary: Add the ability to page through results to the gfsh search lucene command Key: GEODE-2982 URL: https://issues.apache.org/jira/browse/GEODE-2982 Project: Geode Issue Type: New Feature Components: lucene Reporter: Barry Oglesby
The {{--pageSize}} option was removed from the {{gfsh search lucene}} command because it wasn't working properly. The code logged the results in the locator when paging was enabled in {{LuceneIndexCommands displayResults}}. This works with headless gfsh in the test code (see {{LuceneIndexCommandsJUnitTest testSearchIndexWithPaging}}), but it doesn't work using the regular gfsh shell. The results need to be passed to the shell not logged in the locator. There is a framework for this using {{CLIStep}}, {{CLILocalStep}} and {{CLIRemoteStep}}. The steps are executed in the locator, and their results are sent back to the shell for display. The only current implementer of this framework is {{DataCommands query}} for OQL queries. We need to implement this for lucene search as well. See GEODE-2951 -- This message was sent by Atlassian JIRA (v6.3.15#6346)