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 jcr:like. A query such as this works fine: String queryString = "//element(*, axxia:resource)[jcr:like(@axxia:title, '%inking%Java%')]";
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.
