jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <the.mindstorm.mailingl...@gmail.com>
Subject Re: Question about not case-sensitive querying
Date Thu, 16 Mar 2006 12:14:35 GMT
Does the jcr:contains works against multi-value properties too? I have a
multi-value property that contains long values, and I wonder if I can
something like:

//*[jcr:contains(@my:property, '1')]

tia,

./alex
--
.w( the_mindstorm )p.


On 3/15/06, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> 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')]
>
> or
>
> //*[jcr:contains(., 'test')]
>
> if you want to do a fulltext search on any property of a node.
>
> regards
>   marcel
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message