Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.9
-
None
-
New
Description
I get the following error during the mentioned testcases on my computer, if I use the Locale de_DE (windows 32):
[junit] Testsuite: org.apache.lucene.queryParser.standard.TestQPHelper [junit] Tests run: 29, Failures: 1, Errors: 0, Time elapsed: 1,156 sec [junit] [junit] ------------- Standard Output --------------- [junit] Result: (fieldX:xxxxx fieldy:xxxxxxxx)^2.0 [junit] ------------- ---------------- --------------- [junit] Testcase: testLocalDateFormat(org.apache.lucene.queryParser.standard.TestQPHelper): FAILED [junit] expected:<1> but was:<0> [junit] junit.framework.AssertionFailedError: expected:<1> but was:<0> [junit] at org.apache.lucene.queryParser.standard.TestQPHelper.assertHits(TestQPHelper.java:1148) [junit] at org.apache.lucene.queryParser.standard.TestQPHelper.testLocalDateFormat(TestQPHelper.java:1005) [junit] at org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.java:201) [junit] [junit] [junit] Test org.apache.lucene.queryParser.standard.TestQPHelper FAILED [junit] Testsuite: org.apache.lucene.queryParser.standard.TestQueryParserWrapper [junit] Tests run: 27, Failures: 1, Errors: 0, Time elapsed: 1,219 sec [junit] [junit] ------------- Standard Output --------------- [junit] Result: (fieldX:xxxxx fieldy:xxxxxxxx)^2.0 [junit] ------------- ---------------- --------------- [junit] Testcase: testLocalDateFormat(org.apache.lucene.queryParser.standard.TestQueryParserWrapper): FAILED [junit] expected:<1> but was:<0> [junit] junit.framework.AssertionFailedError: expected:<1> but was:<0> [junit] at org.apache.lucene.queryParser.standard.TestQueryParserWrapper.assertHits(TestQueryParserWrapper.java:1120) [junit] at org.apache.lucene.queryParser.standard.TestQueryParserWrapper.testLocalDateFormat(TestQueryParserWrapper.java:985) [junit] at org.apache.lucene.util.LuceneTestCase.runTest(LuceneTestCase.java:201) [junit] [junit] [junit] Test org.apache.lucene.queryParser.standard.TestQueryParserWrapper FAILED
With en_US as locale it works.
Attachments
Attachments
Issue Links
- blocks
-
LUCENE-1852 Fix remaining localization test failures in lucene
- Reopened
- is related to
-
LUCENE-1846 More Locale problems in Lucene
- Closed
-
LUCENE-1567 New flexible query parser
- Resolved