jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject [GQL] Semantics of OR in GQL queries
Date Thu, 19 Dec 2013 00:29:54 GMT

we came up with an undocumented part of the GQL search language:

How are OR statements grouped with the rest? The problem is that there is no grouping concept
in GQL, and it is not documented [1]. Take this GQL statement for example: 

type:asset path:/content OR property:something

a) Does it mean this (as pseudo query):

(type = asset AND path = /content) OR property = something

b) or this:

type = asset AND (path = /content OR property = something)

[1] http://jackrabbit.apache.org/api/2.4/org/apache/jackrabbit/commons/query/GQL.html

View raw message