That's the conclusion I was coming to. Thanks
-----Original Message----- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Tuesday, September 17, 2013 9:20 PM To: java-user@lucene.apache.org Subject: Re: Can you escape characters you don't want the analyzer to modify It sounds like you either need to have a custom analyzer or a field-aware analyzer. -- Jack Krupansky -----Original Message----- From: Scott Smith Sent: Tuesday, September 17, 2013 4:26 PM 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 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org