Christine Poerschke created SOLR-8565:
-----------------------------------------
Summary: add & use CommonParams.ROWS_DEFAULT constant (instead of
10)
Key: SOLR-8565
URL: https://issues.apache.org/jira/browse/SOLR-8565
Project: Solr
Issue Type: Task
Reporter: Christine Poerschke
Assignee: Christine Poerschke
Priority: Minor
* add & use {{CommonParams.ROWS_DEFAULT}} constant (instead of 10)
* add & use {{CommonParams.START_DEFAULT}} (instead of 0)
* add {{CommonParamsTest}} test (initially only with
{{test(Start|Rows)\[Default\]}} methods)
This will make it easier to understand what value is used if the "rows"
parameter is omitted, and in the case of the "start" parameter it makes the
0-or-1 question go away.
The newly added {{CommonParamsTest}} methods are to ensure accidental (or
intentional) changes to the (default) constants are caught by a test.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]