look at http://issues.apache.org/jira/browse/LUCENE-1567 (New flexible
query parser)
This new parser allows for internally rewrites/optimizes Query, and it
is backward compatible.
Preetham Kajekar wrote:
Hi,
I am wondering if Lucene internally rewrites/optimizes Query. I am
programatically generating Query based on various user options, and
quite often I have BooleanQueri'es wrapped inside BooleanQueries etc.
Like,
((Src:Testing Dst:Test) (Src:Test2 Port:http)).
In this case, would Lucene optimize to remove the unwanted
BooleanQueries ? Or more importantly, would these extra BooleanQueries
cause any performance problems and should I fix my code to have a
better Query ?
Thanks,
~preetham
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
--
-Lafa
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org