NUnit test for TestQueryParser -2
---------------------------------
Key: LUCENENET-88
URL: https://issues.apache.org/jira/browse/LUCENENET-88
Project: Lucene.Net
Issue Type: Bug
Reporter: Digy
Priority: Minor
Attachments: TestQueryParser.patch
For TestQueryParser.TestDateRange and TestQueryParser.TestLegacyDateRange.
1-
temp.ToString("MM/d/yyy")
statement is buggy. Some countries use dd/MM/yyyy format. So change it to
temp.ToShortDateString();
2-The ParseException to catch should be of type
Lucene.Net.QueryParsers.ParseException
not
Lucene.Net.Analysis.Standard.ParseException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.