SudBisht commented on PR #3256: URL: https://github.com/apache/jackrabbit-oak/pull/3256#issuecomment-6572763589
> I think this patch doesn't address "relative" properties such as `upper([jcr:content/title])` I think that for such cases, automatic detection might be tricky... there are two options: > > * (A) Try to support these as well, or if that's too complex: > * (B) Document the limitation Relative dependencies already have change detection through Aggregate.FunctionInclude , registered by collectPropConfigs() . For upper([jcr:content/title]) , a change to the child’s title property marks the ancestor index document dirty through aggregate matching. This patch addresses the missing equivalent detection for direct function-only properties. The existing upperCaseRelative test in FunctionIndexCommonTest.java covers relative-property updates, and I verified that it passes for Lucene. -- 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]
