lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <morus.wal...@tanto.de>
Subject RE: help with boolean expression
Date Wed, 02 Mar 2005 14:00:58 GMT
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


Mime
View raw message