i have used json facet api and noticed that its relying heavily on filter cache.
index is optimized and all my fields are with docValues='true' and the number of documents are 2.6 million and always faceting on almost all the documents with 'fq' the size of documentCache and queryResultCache are very minimal < 10 ? is it ok ? i understand that documentCache stores the documents that are fetched from disk(segment merged) and the size is set to 2000 fieldCache is always zero is it because of docValues? ver 5.2.1