jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrizio Giustina <fgi...@gmail.com>
Subject Re: search: support of not like and case insensitive search
Date Mon, 01 Aug 2005 13:34:42 GMT
Hi Philipp!

On 8/1/05, Philipp Bracher <philipp.bracher@obinary.com> wrote:
> hi list,
> 
> i use jackrabbit in the cms project magnolia. Using the search facility
> I found two problems I was not able to solve:
> 
> 1) search seams to be case sensitive (xpath and sql syntax)
> using LIKE 'test' and LIKE 'Test' is not returning the same result. Is
> there a way to make the like function case insensitive?


You should look at the magnolia source code for an example of
case-insensitive queries ;)

Look at
http://svn.magnolia.info/view/magnolia/trunk/src/main/info/magnolia/cms/taglibs/util/SimpleSearchTag.java?rev=1261&view=markup

it uses jcr:contains instead of like for queries

cheers
fabrizio

Mime
View raw message