I guess, you have to provide customized tokenizer in your analyzer.

-----Original Message-----
From: Scott Smith [mailto:ssm...@mainstreamdata.com] 
Sent: Wednesday, September 18, 2013 12:26 AM
To: java-user@lucene.apache.org
Subject: Can you escape characters you don't want the analyzer to modify

Suppose I have a string like "ab@cd%d".  My analyzer will turn this into "ab cd 
d".  Can I pass it "ab\@cd\%d" and force it to treat it as a single word?  I 
want to use the Query parser, but I don't want it messing with fields that have 
not been analyzed.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to