Description
Lucene property index needs to support following queries which make use of relative properties
select [jcr:path], [jcr:score], * from [dam:Asset] as a where [jcr:content/jcr:lastModified] > cast('2014-10-01T00:00:00.000+02:00' as date)
Possible Approach
- Have the index definition define a property like foo/bar
- LuceneIndexEditor would also index child property foo/bar as part of parent node if present
- On update in child the child node can indicate the parent to make the document again
- On query side the property restriction can be used listerall i.e. foo/bar and stuff should work fine