I am wondering if queryResultCache in solrconfig.xml caches anything blindly or only successfully handled results? That is I don't want to cache failed query's results.
Also I see some attribute called "autowarmCount" in the queryResultCache definition.
<queryResultCache
class="solr.LRUCache"
size="16384"
initialSize="16384"
autowarmCount="128"/>
Can I specify queries for auto warming up? Or can it figure out itself what queries to use?
The queryResultCache will only store results from successfully handled results.
Yes you can specify the queries to use for the autowarming. From the Solr Reference Guide on Caches, please see the Query-Related Listeners section for details on how the queries can be specified when searchers are either frist created or newly created to replace an existing searcher in Solr.
Also please note that the following (also from the Reference Guide):