RE: Can you escape characters you don't want the analyzer to modify

2013-09-18 Thread Портнов Дмитрий
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

RE: Can you escape characters you don't want the analyzer to modify

2013-09-18 Thread Scott Smith
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

Can you escape characters you don't want the analyzer to modify

2013-09-17 Thread Scott Smith
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.

Re: Can you escape characters you don't want the analyzer to modify

2013-09-17 Thread Jack Krupansky
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