The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Matteo Grolla (21) [Avatar] Offline
#1
Hp:
q1, q2 are two queries that make efficient use of the index,
q1 returns a large result set
q2 returns a result set whose intersection with q1

two ways of obtaining the result

1) q1 query, q2 filter
2) q1 and q2 are ANDed in a boolean query q

is there a significant performance difference in the two approaches?