You can use keyword tokenizer.. Creates org.apache.lucene.analysis.core.KeywordTokenizer.
Treats the entire field as a single token, regardless of its content. Example: "http://example.com/I-am+example?Text=-Hello" ==> "http://example.com/I-am+example?Text=-Hello" -- View this message in context: http://lucene.472066.n3.nabble.com/preserve-special-characters-tp4071488p4071496.html Sent from the Solr - User mailing list archive at Nabble.com.