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: XPath difference in queries
Date Fri, 22 Jun 2007 06:37:41 GMT
Amir Mistric wrote:
> So If someone enters in a form field a query string "rock AND roll OR disco
> -techno" I cannot just use it in jcr:contains - I have to tokenize the string
> and use multiple jcr:contains.

I'm sorry, that was a misunderstanding.

you *can* pass your example query string as is to the jcr:contains function.

I just wanted to point out that a sole jcr:contains function is not a valid 
xpath statement.


View raw message