That's weird.  Maybe some assumption about people creating their own
Lucene app wanting to be localized by default?  It is configurable.

Anyway, Solr doesn't use this... see SolrQueryParserBase

-Yonik


On Tue, Mar 17, 2015 at 10:09 AM, Ramkumar R. Aiyengar
<[email protected]> wrote:
> Happened to notice that the 'default locale' used by QueryParserBase
> is `Locale.getDefault()`, on which we call things like `toLowerCase`
> etc. Given that we forbid functions like `toLowerCase` with no args,
> does anyone know why we don't use the root locale as the default as
> opposed to the system locale?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

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

Reply via email to