Hello,

> query 1:
> //element(*,cwe:file)[jcr:contains(jcr:content/@jcr:mimeType,
> 'application/msword')]/rep:excerpt() order by @jcr:score desc

You can try first to debug a little: 

does //*[jcr:contains(@jcr:mimeType, 'application/msword')] for example returns 
a result? If not, you might know better where to look (do you actually have a 
property mimeType to begin with...you might take a look with Luke at your 
lucene index). Futhermore, 

//[EMAIL PROTECTED]:mimeType='application/msword'] makes IMO more sense (though 
99% of the time it will return the same result (depending on your analyzer 
used))

Regards Ard


Reply via email to