Why does QueryParserBase locale default to system locale?

2015-03-17 Thread Ramkumar R. Aiyengar
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

Re: Why does QueryParserBase locale default to system locale?

2015-03-17 Thread Yonik Seeley
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 andyetitmo...@gmail.com wrote: