jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomasg <thomasgascoi...@hotmail.com>
Subject Re: Restricting xpath query to document text
Date Wed, 10 May 2006 14:40:09 GMT

Hi Marcel,

I've just been looking at a some more typical queries that our system will
need to run and am finding a (related) but more serious problem using
A query such as this works fine:
String queryString = "//element(*, axxia:resource)[jcr:like(@axxia:title,

But how can you specify that you want the document text to be like
'%inking%Java%'? Is it currently the case that jcr:like can only search
properties and not the document text?

Using jcr:contains the situation is ok since jcr:contains(., 'word')
searches the document text, even though you can't specify 'ONLY the document
text and not other properties'. 

Any advice would be appreciated.
Thanks, Thomas
View this message in context: http://www.nabble.com/Restricting-xpath-query-to-document-text-t1512215.html#a4320864
Sent from the Jackrabbit - Dev forum at Nabble.com.

View raw message