jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@openkm.com>
Subject Re: Need help regarding Jackrabbit GQL usage:
Date Thu, 12 May 2011 13:44:41 GMT
with "path:/ConfigRoot/tmp book" you can get all nodes starting from that
path and containing the word "book" in any of the properties. As far as I
know you can't test a property existence using GQL.

And for the documentation you can see the javadoc or the source code ;)

El 12/05/2011 15:11, "Ashok" <ashok121@gmail.com> escribió:
> Hi,
>
> We are using JackRabbit 2.0
>
> I am exploring GQL for searching nodes in our repository. I need to know
how
> we can club more than one conditions in the statement.
>
> For eg:
>
> I want to search nodes in the path "/ConfigRoot/tmp" and has a property
> named "book".
>
> Individually we can construct 2 queries for the above conditions using:
>
> GQL.execute("path:/ConfigRoot/tmp", session);
> GQL.execute("book", session);
>
> But I want to club these 2 conditions as 1 statement. How can we achieve
> this?
> Also please point me if there is any GQL related working examples?
>
> --
> Cheers,
> Ashok
> +91-9600117508

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message