Re: Lucene QueryParser/Analyzer inconsistency

2014-06-19 Thread Luis Pureza
scape method you call, >> but the escaping will be gone by the time your analyzer is called. >> >> So, just try a simple, unescaped slash in your char mapping table. >> >> -- Jack Krupansky >> >> -Original Message- From: Luis Pureza >> Sent:

Re: Lucene QueryParser/Analyzer inconsistency

2014-06-18 Thread Luis Pureza
, just try a simple, unescaped slash in your char mapping table. > > -- Jack Krupansky > > -Original Message- From: Luis Pureza > Sent: Tuesday, June 17, 2014 1:43 PM > To: java-user@lucene.apache.org > Subject: Lucene QueryParser/Analyzer inconsistency > > > Hi,

Re: Lucene QueryParser/Analyzer inconsistency

2014-06-17 Thread Jack Krupansky
e 17, 2014 1:43 PM To: java-user@lucene.apache.org Subject: Lucene QueryParser/Analyzer inconsistency Hi, I'm experience a puzzling behaviour with the QueryParser and was hoping someone around here can help me. I have a very simple Analyzer that tries to replace forward slashes (/) by spaces.

Lucene QueryParser/Analyzer inconsistency

2014-06-17 Thread Luis Pureza
Hi, I'm experience a puzzling behaviour with the QueryParser and was hoping someone around here can help me. I have a very simple Analyzer that tries to replace forward slashes (/) by spaces. Because QueryParser forces me to escape strings with slashes before parsing, I added a MappingCharFilter