lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Smith <ssm...@mainstreamdata.com>
Subject RE: Can you escape characters you don't want the analyzer to modify
Date Wed, 18 Sep 2013 21:51:40 GMT
That's the conclusion I was coming to.  

Thanks

-----Original Message-----
From: Jack Krupansky [mailto:jack@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


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


Mime
View raw message