[ 
https://issues.apache.org/jira/browse/JCR-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567030#action_12567030
 ] 

Marcel Reutegger commented on JCR-1365:
---------------------------------------

See TODO in source code: LuceneQueryBuilder#visit(LocationStepQueryNode, Object)

> Query path constraints like foo//*/bar do not scale
> ---------------------------------------------------
>
>                 Key: JCR-1365
>                 URL: https://issues.apache.org/jira/browse/JCR-1365
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> To resolve the * step the LuceneQueryBuilder currently creates a 
> MatchAllQuery and checks every node for a foo ancestor. Instead, it should 
> search for bar nodes and check for foo ancestors with at least one arbitrary 
> hierarchy level in between.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to