jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Question about not case-sensitive querying
Date Wed, 15 Mar 2006 17:34:34 GMT
Aarnout van der Meulen wrote:
> I would like to search for nodes with a given property-value, but not 
> case-sensitive.
> So, something like  //*[@field1="test"] , but then also resulting nodes 
> with property-values "Test', "TEST" and so on.
> Can I create such a query? 
> Or is there another way to get the desired results?

try the following:

//*[jcr:contains(@field1, 'test')]


//*[jcr:contains(., 'test')]

if you want to do a fulltext search on any property of a node.


View raw message