Re: Handling of colons in QueryParserTokenManager

2006-01-23 Thread Paul Elschot
On Monday 23 January 2006 13:10, Gwyn Carwardine wrote: ... > > And now I've been pointed to QueryParser.jj I wonder what language that is? > And is QueryParser.javaj create from it? If so how does it get from one to > the other?! Help! > QueryParser.java is generated from QueryParser.jj by jav

RE: Handling of colons in QueryParserTokenManager

2006-01-23 Thread Gwyn Carwardine
eers, Gwyn -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: 23 January 2006 01:54 To: Cc: Gwyn Carwardine Subject: Re: Handling of colons in QueryParserTokenManager Gwyn - this is a question for java-user@ list, I'm answering there. Perhaps you can write y

Re: Handling of colons in QueryParserTokenManager

2006-01-22 Thread Otis Gospodnetic
Gwyn - this is a question for java-user@ list, I'm answering there. Perhaps you can write your own QueryParser.jj variant and change it so it has explicit knowledge of your indef fields. Then, if it parses "foo:" and "foo" is not one of the fields it knows about, it could escape the column