You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/01/18 20:42:40 UTC
[jira] [Created] (SOLR-8565) add & use CommonParams.ROWS_DEFAULT
constant (instead of 10)
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org