Hi Katia,

Katia Santos wrote:
Im trying to search binary content wiht the following query :
//*[jcr:contains(jcr:data,'myword')]  but I dont get any results.

Extracted text from binary content is only indexed on the parent node of the @jcr:data property. Use jcr:contains() on the nt:resource node.

Examples:

//element(*, nt:resource)[jcr:contains(., 'foo')]
//element(*, nt:file)[jcr:contains(jcr:content, 'foo')]


regards
 marcel

Reply via email to