: It seems that this is because my solr app cannot find a ressource bundle while : writing the exception message. Lucene supports internationalization in query's : exception messages thanks to the NLS [2] class. ... : Creating the file with the current local, i.e., : org/apache/lucene/queryParser/core/messages/QueryParserMessages*_en_IE*.properties, : and putting it into a jar placed in the lib folder of my solr app changed : nothing.
I suspect this is a classloader problem -- i haven't looked at the code for the QueryParser you're using, but more then likely it's asking *it's* classloader to find the file, and if thta's not the same classloader as where the properties file is located, there may be problems. where are you putting the contrib-queryparser jar in your setup? where are you putting the properties file? where are you putting your custom solr plugin that uses the contrib-queryparser code? -Hoss