[ 
https://issues.apache.org/jira/browse/SOLR-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Sekiguchi updated SOLR-2221:
---------------------------------

    Component/s: contrib - DataImportHandler

> DIH: use StrUtils.parseBool() to get values of boolean options of import 
> command
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-2221
>                 URL: https://issues.apache.org/jira/browse/SOLR-2221
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3, 1.4
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.1, 4.0
>
>
> Currently, debug option for full-import/delta-import accepts only "on" for 
> true:
> {code}
> if ("on".equals(requestParams.get("debug"))) {
>   debug = true;
>   rows = 10;
>   // Set default values suitable for debug mode
>   commit = false;
>   clean = false;
>   verbose = "true".equals(requestParams.get("verbose"))
>           || "on".equals(requestParams.get("verbose"));
> }
> {code}
> and other boolean options uses Boolean.parseBoolean(String). We would like to 
> use StrUtils.parseBool() that accepts true, on and yes for true, and false, 
> off and no for false.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to