Question about QueryCache

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question about QueryCache

Haoyu Zhai
Hi folks,
I'm trying to understand how QueryCache works and one question popped out of my head was that is QueryCache caching 
1. the whole query that being submitted to IndexSearcher or 
2. it will recurse into the query and selectively caching some of the clauses (especially for BooleanQuery)?

From my observation it is the former case but I just want to double check in case I missed anything.

Thanks
Patrick