jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: Lucene Fields
Date Mon, 03 Mar 2008 17:30:28 GMT

El lun, 03-03-2008 a las 14:07 +0100, Marcel Reutegger escribió:
> 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')]

ok, thanks!
-- 
Paco Avila <pavila@git.es>
GIT Consultors


Mime
View raw message