jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Kahwe Smith <...@pooteeweet.org>
Subject SQL2 and references
Date Tue, 27 Sep 2011 20:20:26 GMT
Hi,

I am wondering how to do a search given the following

/foo/bar (UUID 1234, property "lala" is "huii")
/ding/dong (referencing UUID 1234)

now I want to do a search limited to children of "/ding" but when searching I want it to search
the contents of referenced nodes.

i was hoping that SQL2 would just do this automatically:
SELECT * FROM [nt:unstructured] WHERE ISCHILDNODE('/ding') AND [nt:unstructured].lala = 'huii'

but this doesnt match .. 

regards,
Lukas Kahwe Smith
mls@pooteeweet.org




Mime
View raw message