[
https://issues.apache.org/jira/browse/OAK-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873517#comment-17873517
]
Thomas Mueller commented on OAK-11025:
--------------------------------------
https://github.com/apache/jackrabbit-oak/pull/1645
> Silence more warnings for ordered properties
> --------------------------------------------
>
> Key: OAK-11025
> URL: https://issues.apache.org/jira/browse/OAK-11025
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: indexing
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Major
>
> With oak-run indexing, we have a lot of warnings, with stack trace each time,
> that look like this:
> {noformat}
> 07:23:34.803 [main] WARN o.a.j.o.p.i.l.LuceneDocumentMaker - [...] Ignoring
> ordered property. Could not convert property ... of type STRING to type DATE
> for path ...
> java.lang.IllegalArgumentException: Not a date string: 2025-05-06T15:27:36
> at
> org.apache.jackrabbit.oak.plugins.value.Conversions$Converter.toCalendar(Conversions.java:100)
> at
> org.apache.jackrabbit.oak.plugins.value.Conversions$Converter.toDate(Conversions.java:112)
> {noformat}
> We already have a mechanism to silence (only log once every 10 seconds)
> similar messages. So we can extend that mechanism to also cover the other
> cases.
> I checked and found 3 cases:
> * IllegalArgumentException: Not a date string
> * RuntimeException: Unable to parse the provided date field
> * NumberFormatException: For input string
> This issue is not about the performance impact, but to reduce the amount of
> unnecessary logging.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)