Shelley Lynn Hughes-Godfrey created GEODE-2945: --------------------------------------------------
Summary: lucene search prompts in gfsh make it appear that limit, pageSize and keys-only are required fields Key: GEODE-2945 URL: https://issues.apache.org/jira/browse/GEODE-2945 Project: Geode Issue Type: Bug Components: lucene Reporter: Shelley Lynn Hughes-Godfrey gfsh command for lucene search prompts make it appear that limit, pageSize and keys-only are required parameters. The lucene search command below is missing the --defaultField specification, but the resulting gfsh prompts make it appear that limit, pageSize and keys-only are also required ("You should specify option"): {noformat} gfsh>search lucene --name=testIndex --region=/testRegion --queryStrings="number" You should specify option (--defaultField, --limit, --pageSize, --keys-only) for this command {noformat} help shows this is not the case, but we could make this easier {noformat} gfsh>help search lucene NAME search lucene IS AVAILABLE true SYNOPSIS Search lucene index SYNTAX search lucene --name=value --region=value --queryStrings=value --defaultField=value [--limit=value] [--pageSize=value] [--keys-only=value] PARAMETERS name Name of the lucene index to search. Required: true region Name/Path of the region defining the lucene index to be searched. Required: true queryStrings Query string to search the lucene index Required: true defaultField Default field to search in Required: true limit Number of search results needed Required: false Default (if the parameter is not specified): -1 pageSize Number of results to be returned in a page Required: false Default (if the parameter is not specified): -1 keys-only Return only keys of search results. Required: false Default (if the parameter is not specified): false {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)