Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Lucene index definition currently support index properties based on regex. The regex support is currently restricted to property name only and not for relative property paths.
However at time we have queries like below
/jcr:root/content/docs//element(*,app:Asset)[(jcr:content/targeting_123/section_456/@foo=110)]
Here the relative property path can vary. To index them we need to support relative property based on regex or globs 'jcr:content/*/*/foo'
BTW, what is already support is using a wildcard (but not regular expression), see https://jackrabbit.apache.org/oak/docs/query/lucene.html:
"For relative properties, one wildcard (*) is supported instead of a node name: */color aggregates the values of the property color of all direct child nodes."