[
https://issues.apache.org/jira/browse/OAK-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955182#comment-13955182
]
Alex Parvulescu commented on OAK-319:
-------------------------------------
bq. The problem is that the path of a node (the ":path" field in Lucene) is not
indexed.
Could you be more specific about what the problem is? The path is already in
the Lucene index.
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndex.java#L378
> Similar (rep:similar) support
> -----------------------------
>
> Key: OAK-319
> URL: https://issues.apache.org/jira/browse/OAK-319
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: jcr, query
> Reporter: Alex Parvulescu
> Assignee: Thomas Mueller
> Priority: Critical
> Fix For: 0.20
>
>
> Test class is: SimilarQueryTest
> Trace:
> {noformat}
> Caused by: java.text.ParseException: Query:
> //*[rep:similar(.(*), '/testroot')]; expected: rep:similar is not supported
> at
> org.apache.jackrabbit.oak.query.XPathToSQL2Converter.getSyntaxError(XPathToSQL2Converter.java:963)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)