Hi. For your information, SQLITE_ENABLE_FTS3_PARENTHESIS has been
enabled by default since DBD::SQLite 1.30_04 with custom tokenizer
support (by Laurent Dami). Please check the latest dev version when you
have some spare time to see if it works for you. Thanks.
Kenichi
On 2009-5-27 Wed 02:37:55, redneb@gmx.com wrote:
Show quoted text> I just found out that SQLITE_ENABLE_FTS3_PARENTHESIS enables a new
> syntax that breaks compatibility with the legacy one. According to
the
Show quoted text> fts3_expr.c file from the sqlite sources, the differences between the
> new and the legacy syntaxes are
>
> a) The new syntax supports parenthesis. The old does not.
> b) The new syntax supports the AND and NOT operators.
> The old does not.
> c) The old syntax supports the "-" token qualifier.
> This is not supported by the new syntax (it is
> replaced by the NOT operator).
> d) When using the old syntax, the OR operator has
> a greater precedence than an implicit AND. When
> using the new, both implicit and explicit AND
> operators have a higher precedence than OR.
>
> Therefore, enabling the new syntax is probably not a good idea.
>
>
>
> On Tue, May 26, 2009 at 10:13:08PM -0400, Adam Kennedy via RT wrote:
don't
Show quoted text> >have any tests to validate the addition.
> >
> >Since you understand the feature you're after, if you'd like to
> >expedite the feature addition by producing some test scripts for the
> >feature so that we can validate it, I can give you commit rights to
> >add them.
> >
> >Adam K