lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markh <markhanfl...@yahoo.com>
Subject Prioritizing BooleanQueries to Improve Performance
Date Fri, 07 Aug 2015 16:46:01 GMT
If I have a BooleanQuery which has two subqueries, one fast, one slow 

(fastQuery) && (slowQuery)

Is there a way to tell Lucene to execute the fastQuery first so it can
potentially skip the slowQuery if there are no results from the fastQuery?

I don't think making the slow query a filter (Occur.Filter) will do the
trick if I have a complex expression.   

I am using Lucene 5.2.

Thanks!



--
View this message in context: http://lucene.472066.n3.nabble.com/Prioritizing-BooleanQueries-to-Improve-Performance-tp4221714.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
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