jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KÖLL Claus <C.KO...@TIROL.GV.AT>
Subject AW: FullText Search Problem
Date Mon, 03 Dec 2007 12:44:53 GMT
hi marcel,

> //element(*, nt:base)[jcr:contains(., 'test\!')]

'\!' is not a valid escape sequenece in java ....

BR,
claus


-----Ursprüngliche Nachricht-----
Von: Marcel Reutegger [mailto:marcel.reutegger@gmx.net] 
Gesendet: Freitag, 30. November 2007 15:33
An: users@jackrabbit.apache.org
Betreff: Re: AW: AW: FullText Search Problem


KÖLL Claus wrote:
> thanks for the informations
> can you add your comments to the jira issue ?
> https://issues.apache.org/jira/browse/JCR-1248

sure.

> ok if try to run the query like this
> 
> //element(*, nt:base)[jcr:contains(., 'test\"!\"')]"
> 
> it works fine

hmm, why did you add the double quotes? I think this should be sufficent:

//element(*, nt:base)[jcr:contains(., 'test\!')]

regards
  marcel

Mime
View raw message