Hi,
No can do. [] means something to my content (i.e. show me the methods that take an array as a parameter). Do I need to write a specialised "JavaQueryParser" then? Bye, Les -----Original Message----- From: Biswas, Goutam_Kumar To: 'Lucene Users List' Sent: 20/02/02 12:00 Subject: RE: Queryparser croaking on "[" and "]" Les Parse your query string to remove the charactors '[' , ']' etc. which are deemed illegal by lucene query-semantics. -Goutam -----Original Message----- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 4:44 PM To: '[EMAIL PROTECTED]' Subject: Queryparser croaking on "[" and "]" Hi, I'm currently building a small app that allows searching of Java sourcecode. The problem I'm getting is when parsing a query string that contains an array specifier (ie. String[] or int[][]) the query parser seem to croak with a Lexical error at line XX, column XX. Encountered: after : "[]" So what am I doing wrong / what should I write to fix this? Les -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>