You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/02/01 17:19:51 UTC

[jira] [Commented] (JCR-3812) Improvements to the GQL tools

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

Julian Reschke commented on JCR-3812:
-------------------------------------

trunk: [r1627529|http://svn.apache.org/r1627529]
2.8: [r1781282|http://svn.apache.org/r1781282]


> Improvements to the GQL tools
> -----------------------------
>
>                 Key: JCR-3812
>                 URL: https://issues.apache.org/jira/browse/JCR-3812
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 2.9.1, 2.10, 2.8.5
>
>         Attachments: JCR-3812.patch
>
>
> The GQL tool currently only supports full-text constraints ("jcr:contains"). I would like to add other constraints as well, for example "jcr:like". For that I would like to use the syntax 
> {noformat}
> "jcr:nativeXPath":"jcr:like(@property, '%test%')"
> {noformat}
> For debugging and testing, I would like to have a way to get the XPath query instead of executing the query. Also, it would be nice to have a way to execute an XPath query, using the filter mechanism of this tool.
> To simplify testing, the session should be optional.
> The tool always adds an "order by" constraint. I would like to make this optional. The syntax is:
> {noformat}
> order:-
> {noformat}
> (currently, '-' is used to sort descending).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)