jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Search Query for Property
Date Tue, 06 Jul 2010 15:06:32 GMT
On Tue, Jul 6, 2010 at 15:56, Rencana Tarigan
<rencana_tarigan@yahoo.co.id> wrote:
> how about search for 2 or more property ?
> and how use OR or AND condition at search query ?

Standard XPath:

//*[@author = '...' and @property = 'foo']

//*[@author = '...' or @property = 'foo']

//*[(@author = '...' and @property = 'foo') or (@some = 'thing')]

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message