[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: RE: help with boolean expression
From: Morus Walter <morus.walter () tanto ! de>
Date: 2005-03-02 13:59:55
Message-ID: 16933.50970.191626.59954 () tanto-xipolis ! de
[Download RAW message or body]
Omar Didi writes:
> thank you so much Eric and Morus, I have a clear idea now how it works. i will try \
> to implement a custom code that adds the parenthesis to boolean expressions with \
> some rules about operator precedence.
I rather suggest, that you patch QP instead.
Adding parenthesis before handing the query string to QP means, to parse the
query string in your custom code, serialize the result to a query again
and let QP parse that string.
So in the end, you double the effort. Both for coding and runtime.
Morus
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic