jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurz Wolfgang <wolfgang.k...@gwvs.de>
Subject How to implement LIKE statements with Xpath?
Date Tue, 31 Mar 2009 14:01:05 GMT
Hello everyone,

i am implementing a full textual search with xpath.

So far I have been using contains(.,"SearchString") but it doesn’t really get me the right
results.

What I would like to have is a LIKE statement like in SQL

So for example if I am searching for "test"

I want the result to return everything that has test in it like test1, test2, test3

I thought contains would do that but apparently it doesn’t:-)

Anyone have an idea for me how I could get this to work?

Thx a lot in advance!

Wolfgang

Mime
View raw message