You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by KÖLL Claus <C....@TIROL.GV.AT> on 2007/12/03 13:44:53 UTC
AW: FullText Search Problem
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
AW: FullText Search Problem
Posted by KÖLL Claus <C....@TIROL.GV.AT>.
hi thomas,
thanks for the info .. this works also fine
but as described in
https://issues.apache.org/jira/browse/JCR-1248
i think this should handle jackrabbit by a util class internal that we get no exception
BR,
claus
-----Ursprüngliche Nachricht-----
Von: Thomas Mueller [mailto:thomas.tom.mueller@gmail.com]
Gesendet: Montag, 03. Dezember 2007 14:08
An: users@jackrabbit.apache.org
Betreff: Re: FullText Search Problem
Hi,
> > //element(*, nt:base)[jcr:contains(., 'test\!')]
> '\!' is not a valid escape sequenece in java ....
Try "//element(*, nt:base)[jcr:contains(., 'test\\!')]";
Regards,
Thomas
Re: FullText Search Problem
Posted by Thomas Mueller <th...@gmail.com>.
Hi,
> > //element(*, nt:base)[jcr:contains(., 'test\!')]
> '\!' is not a valid escape sequenece in java ....
Try "//element(*, nt:base)[jcr:contains(., 'test\\!')]";
Regards,
Thomas