You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/07/18 11:10:48 UTC

[jira] [Created] (OAK-913) Query: relative fulltext conditions return the wrong result

Thomas Mueller created OAK-913:
----------------------------------

             Summary: Query: relative fulltext conditions return the wrong result
                 Key: OAK-913
                 URL: https://issues.apache.org/jira/browse/OAK-913
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller


Fulltext conditions of the following form return the child node instead of the parent node:

{code}
contains([node1/text], 'hello')
{code}

This is because the filter doesn't contain the relative path (it doesn't contain the property name either, but that's not the problem here).

The problem here is not the Lucene index, but the filter API, so it can't be easily fixed. I think it makes sense to fix it as part of OAK-902.

--
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