You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2010/11/07 04:25:06 UTC
[jira] Updated: (SOLR-2221) DIH: use StrUtils.parseBool() to get
values of boolean options of import command
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org