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: Luecene Queries
Date Fri, 07 Nov 2008 12:46:58 GMT
majohnst wrote:
> I know Jackrabbit can use XPath and SQL to query nodes, but what about native
> lucene queries such as:
> +nodeType:article +author:"Joe Smith"

this is not supported. you have to use the jcr:contains() function, which maps
loosely to the lucene query syntax:

//*[jcr:contains(@nodeType, 'article') and jcr:contains(@author, '"Joe Smith"')]


View raw message