[ https://issues.apache.org/jira/browse/OAK-6792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16194577#comment-16194577 ]
Vikas Saurabh commented on OAK-6792: ------------------------------------ Oh... yes, you're right... I wanted that to be a column in result row... not a condition. (so, yes I wanted {{/jcr_root//element(*, app:Asset)/(rep:facet(jcr:createdBy))}}. Let me run the query again in a bit - I'd update the description accordingly. > rep:facet not supported in xpath > -------------------------------- > > Key: OAK-6792 > URL: https://issues.apache.org/jira/browse/OAK-6792 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: query > Reporter: Vikas Saurabh > > Parsing > {noformat} > //element(*, app:Asset)[rep:facet(jcr:createdBy)] > {noformat} > gives following exception. > {noformat} > javax.jcr.query.InvalidQueryException: java.text.ParseException: Query: > //element(*, app:Asset)[rep:facet(jcr:createdBy(*))]; expected: jcr:like | > jcr:contains | jcr:score | xs:dateTime | fn:lower-case | fn:upper-case | > fn:name | rep:similar | rep:spellcheck | rep:suggest > {noformat} > /cc [~tmueller] -- This message was sent by Atlassian JIRA (v6.4.14#64029)