jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Xpath query with analyzer
Date Thu, 26 Apr 2007 07:15:36 GMT
Sridhar Raman wrote:
> What I actually need is somewhere that merges both these two cases.  I want
> to do a query that is case-insensitive, uses the analyzer to match, and 
> also
> checks whether it is a full match.  That is, analyzer('abc') should be
> exactly equal to analyzer('Abc').

this is not possible. the analyzer is only used with the jcr:contains() 
function. but you may use the fn:lower-case() function. this at least allows you 
to ignore the case:

//*[fn:lower-case(@TITLE) = 'abc']

regards
  marcel

Mime
View raw message