jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Eggerling-Boeck" <paulbo...@yahoo.com>
Subject jcr:contains question
Date Fri, 23 Feb 2007 18:36:36 GMT
I'm using  jcr:contains() to query for nodes with a given string in
one of the properties such as the following:


That query will not find the following node:
<entry jcr:primaryType="nt:unstructured" MyProperty="My Value"/>

However if I use this query:

The node is found.  Seems to me like jcr:contains only matches on
whole words.  Am I wrong?  Is there a way to search on partial words?

BTW, I tried jcr:like with wildcards and that did not work any better,
plus had the additional problem of being case sensitive.



View raw message