lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Preetham Kajekar <>
Subject Query rewriting/optimization
Date Thu, 21 May 2009 17:06:11 GMT
 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.
 ((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 ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message