jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Full Text Search Problem
Date Fri, 29 Feb 2008 10:51:31 GMT
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

Mime
View raw message