nit0906 commented on code in PR #670:
URL: https://github.com/apache/jackrabbit-oak/pull/670#discussion_r948618621
##########
oak-search/src/test/java/org/apache/jackrabbit/oak/plugins/index/FullTextIndexCommonTest.java:
##########
@@ -45,12 +48,12 @@ public void defaultAnalyzer() throws Exception {
root.commit();
assertEventually(() -> {
- assertQuery("//*[jcr:contains(@analyzed_field, 'SUN.JPG')] ",
XPATH, Collections.singletonList("/test/a"));
- assertQuery("//*[jcr:contains(@analyzed_field, 'Sun')] ", XPATH,
Collections.singletonList("/test/a"));
- assertQuery("//*[jcr:contains(@analyzed_field, 'jpg')] ", XPATH,
Collections.singletonList("/test/a"));
- assertQuery("//*[jcr:contains(., 'SUN.jpg')] ", XPATH,
Collections.singletonList("/test/a"));
- assertQuery("//*[jcr:contains(., 'sun')] ", XPATH,
Collections.singletonList("/test/a"));
- assertQuery("//*[jcr:contains(., 'jpg')] ", XPATH,
Collections.singletonList("/test/a"));
+ assertQuery("//*[jcr:contains(@analyzed_field, 'SUN.JPG')] ",
XPATH, singletonList("/test/a"));
+ assertQuery("//*[jcr:contains(@analyzed_field, 'Sun')] ", XPATH,
singletonList("/test/a"));
+ assertQuery("//*[jcr:contains(@analyzed_field, 'jpg')] ", XPATH,
singletonList("/test/a"));
+ assertQuery("//*[jcr:contains(., 'SUN.jpg')] ", XPATH,
singletonList("/test/a"));
Review Comment:
This test seems to be failing at this assertion in this PR checks here
https://ci-builds.apache.org/job/Jackrabbit/job/oak-trunk-pr/job/PR-670/1/testReport/junit/org.apache.jackrabbit.oak.plugins.index.elastic/ElasticFullTextIndexCommonTest/oak_search_elastic___defaultAnalyzer/?cloudbees-analytics-link=scm-reporting%2Ftests%2Ffailed
Seems like the original issue with the exception
`failed to create query: failed to parse date field [sun] with format
[strict_date_optional_time||epoch_millis]: [failed to parse date field [sun]
with format [strict_date_optional_time||epoch_millis]]
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]