[
https://issues.apache.org/jira/browse/OAK-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546950#comment-13546950
]
Alex Parvulescu commented on OAK-420:
-------------------------------------
it appears that the problem magically solved itself in the meantime. the sql2
test now fails because of an "explain" test that is included in the "sql2" test
suite:
{code}
explain select b.[jcr:path] as [jcr:path], b.[jcr:score] as [jcr:score], b.*
from [nt:base] as a inner join [nt:base] as b on ischildnode(a, b) where
name(a) = 'yes' and isdescendantnode(a, '/test') and b.[x] is not null
[nt:base] as [a] /* :path:/test/* where (name([a]) = cast('yes' as string)) and
(isdescendantnode([a], [/test])) */ inner join [nt:base] as [b] /* x:{* TO *}
where [b].[x] is not null */ on ischildnode([a], [b])
{code}
-> :path:/test/* is the culprit
maybe we can move the explain test to the "explain" suite so that I can
reenable the lucene sql2 tests.
> Query: Lucene index problem with isdescendantnode
> -------------------------------------------------
>
> Key: OAK-420
> URL: https://issues.apache.org/jira/browse/OAK-420
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-lucene
> Reporter: Thomas Mueller
>
> Using isdescendantnode seems to be problematic with the Lucene index
> currently.
> Adding isdescendantnode to some of the queries in sql2.txt and
> sql2_measure.txt works for
> other index implementations, but breaks the LuceneIndexQueryTest.
> I believe the problem is isdescendantnode, but I'm not completely sure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira