It works for me too on linux. Thanks for the test! --- Morus Walter <[EMAIL PROTECTED]> wrote:
> Sanyi writes: > > > > How to perform phrase searches for more than four words? > > > > This works well with 1.4.2: > > "aa bb cc dd" > > I pass the query as a command line parameter on XP: "\"aa bb cc dd\"" > > QueryParser translates it to: text:aa text:bb text:cc text:dd > > Runs, searches, finds proper matches. > > > > This throws exeption in QueryParser: > > "aa bb cc dd ee" > > I pass the query as a command line parameter on XP: "\"aa bb cc dd ee\"" > > The exception's text is: > > : org.apache.lucene.queryParser.ParseException: Lexical error at line 1, > > column > > 13. Encountered: <EOF> after : "\"aa bb cc dd" > > > Works for me on linux: > java -cp lucene.jar org.apache.lucene.queryParser.QueryParser '"a b c d e f g > h i j k l m n o p > q r s t u v w x y z"' > "a b c d e f g h i j k l m n o p q r s t u v w x y z" > > Must be an XP command line problem. > > HTH > Morus > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]