Hi Hamid,

Hamid Reza Sahlolbey wrote:
Hi;
I save some files in JCR and for Ms word files I enabled indexing and it
seems the text extractor works well (I saw the index in {ws.home}/index
directory)

My problem is when I want to search for the Ms Word Content I used the
following Xpath query but it can't find my file.

//vsarchive:d/vsarchive:content/*/jcr:content[jcr:contains(@jcr:data,'hamid'
)]

you cannot use jcr:contains() on binary properties directly. the following will work:

//vsarchive:d/vsarchive:content/*/jcr:content[jcr:contains(., 'hamid')]

regards
 marcel

Reply via email to