You should escape those characters http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Escaping%20Special%20Characters
On 6/24/11 3:15 AM, roySolr wrote:
Hello, Is it possible to configure into SOLR that only numbers and letters are accepted([a-z][0-9])?? When a user gives a term like "+" or "-" i get some SOLR errors. How can i exclude this characters? -- View this message in context: http://lucene.472066.n3.nabble.com/Query-may-only-contain-a-z-0-9-tp3103553p3103553.html Sent from the Solr - User mailing list archive at Nabble.com.