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/20 17:05:39 UTC
[jira] [Resolved] (SOLR-8565) add & use
CommonParams.(ROWS|START)_DEFAULT constant
[ https://issues.apache.org/jira/browse/SOLR-8565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Poerschke resolved SOLR-8565.
---------------------------------------
Resolution: Fixed
Fix Version/s: Trunk
5.5
> add & use CommonParams.(ROWS|START)_DEFAULT constant
> ----------------------------------------------------
>
> 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
> Fix For: 5.5, Trunk
>
> Attachments: SOLR-8565.patch
>
>
> * 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