I'm working at a Apache Solr project. ( distributed in a cloud environment - Amazon ec2 instances ).
I've noticed Solr does an excellent job in caching the results. When I execute the same queries again - the respons states Solr QTime 0 or 1 millisecond.
I want to stress test the Solr system. Therefore I have a limited list of queries I could use ( 50 000 unique queries ). The problem now is that all queries are cached!
When I stress test - after 5 mins or so - all my queries are given in Solr & executed. This makes the system sweat unther the heavy load :) ( witch was the purpose ). But then, as I execute the same query set again - QTime is almost zero! --> Solr has an easy time & isn't stressed.
My question: How can you turn of ALL Solr caches ( Both Solr and Lucence caches)? Or how can you limit the cache?
I've tried to turn of all Solr intern cache, but the cache still stays. ( QueryResultCache and FieldCache ) Note: The config mentions that Lucence will take management of an internal cache - maybe this cache is the problem?
It's just weird that all of the 50 000 queries can be stored in the cache - out of the box.