lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: parsing bool type in solrconfig.xml
Date Tue, 14 Apr 2009 10:44:03 GMT
+1 also.  on/yes/true should all work for boolean parameters (just  
like Ant ;)

	Erik


On Apr 14, 2009, at 2:01 AM, Shalin Shekhar Mangar wrote:

> 2009/4/13 Koji Sekiguchi <koji@r.email.ne.jp>
>
>> Should we accept not only <bool>true</bool>, but also <bool>on</bool>
>> and <bool>yes</bool>?
>> I think it is easy by using parseBool() instead of  
>> Boolean.valueOf() in
>> DOMUtil.
>>
>
> +1
>
> I know it is inconsistent but so are the request parameters like hl,
> debugQuery etc which I doubt will be changed.
>
> -- 
> Regards,
> Shalin Shekhar Mangar.


Mime
View raw message