: number than the default one and i was wondering is there any disadvantage in : having a big number/ cache?BTW, where is the TTL controlled ?
no disadvantage as long as you've got the RAM ... NOTE: the magic "512" number you refered to isn't a "default" -- it's an "example" in the "example" solrconfig.xml There is no TTL for Solr caches, as noted in the wiki... http://wiki.apache.org/solr/SolrCaching Solr caches are associated with an Index Searcher -- a particular 'view' of the index that doesn't change. So as long as that Index Searcher is being used, any items in the cache will be valid and available for reuse. Caching in Solr is unlike ordinary caches in that Solr cached objects will not expire after a certain period of time; rather, cached objects will be valid as long as the Index Searcher is valid. -Hoss