Even in simplistic scenario, when it is Garbage Collected, we still _need_to_be_able_ to allocate enough RAM to FieldCache on demand... linear dependency on document count...
> > Hi Mark, > > Yes, I understand it now; however, how will StringIndexCache size down in a > production system faceting by Country on a homepage? This is SOLR > specific... > > > Lucene specific: Lucene doesn't read from disk if it can retrieve field > value for a specific document ID from cache. How will it size down in purely > Lucene-based heavy-loaded production system? Especially if this cache is > used for query optimizations. >