Tuesday, December 23, 2008 02:52 PM
Please help me . In my console application, I used QueryParser to parse the query : "datestring:[20080101 TO 20090101]" and it works. But when I used QueryParser to parse that query in my servlet, it doesn't work :(. I had this error message: org.apache.lucene.queryParser.ParseException: Encountered "20080101" at line 1, column 24. Was Expecting: "]" .... I have checked many times and see no differences between two query. My servlet received the query that was submitted from a form.