Paco Avila wrote:
Can I search using fields? There is any field defined. I've readed Lucene documentation and allows search like:title:"The Right Way" AND text:go
No, you cannot. Even though Jackrabbit uses a Lucene index, the fields for JCR properties do not map 1:1 to Lucene fields. Instead you can use the following:
//element(*, some:type)[jcr:contains(@title, '"The Right Way"') and jcr:contains(@text, 'go')]
regards marcel
