lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: parsing bool type in solrconfig.xml
Date Tue, 14 Apr 2009 17:31:09 GMT
Erik Hatcher wrote:
> +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.
>
>

Thanks guys. I opened https://issues.apache.org/jira/browse/SOLR-1115 .

Koji


Mime
View raw message