jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: How to escape double quote in SQL term?
Date Sun, 17 Jun 2007 22:09:03 GMT

On 6/11/07, gsoap <gsoap123@yahoo.com> wrote:
> This does not work in case if we search only " see following query:
> SELECT * FROM nt:base WHERE CONTAINS(., '""""')
> In the above query we have a single term and we are searching only " which
> you say should be replaced by "" but it results in parser exception.

I don't think the full text index will contain a term with just the "
character. I think the full text query parser may also get confused by
such a query string, which would explain the exception you are seeing.


Jukka Zitting

View raw message