fieldValueCache not used in solr 6.6
Hi, I'm new to solr, and I use solr 6.6. I have set it up and do some testing, I've noticed that fieldValueCache is not used for multivalued field faceting (and any other query) at all, of course I specified it previously in solrconfig.xml and set docVals for all faceting fields to false in order to use fieldValueCache but it doesn't work, indexing is done with docValues=false for that specific fields. How can I use fieldValueCache in solr 6.6? I have tested solr 6.6 (with docVals) and solr 4.9 (with fieldValueCache enabled), and solr 4.9 performs a little bit beter when the same queries are repeating, probably because of fieldValueCache. Thanks in advance -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
FieldValueCache in solr 6.6
Hi, I'm new to solr, and I'm using solr 6.6. I did some testing with solr 4.9 and 6.6 on the same index with the same faceting queries on the multivalued fields. In first run (with empty cache) solr 6.6 performs much better, but when I run same queries couple more times solr 4.9 is a little bit faster than solr 6.6. FieldValueCache is empty in solr 6.6, and solr 4.9 uses this cache with a good hit ratio (0.9). I have specified this cache inside solrconfig.xml for both solr 6.6 and 4.9. I have also tried same thing by reindexing documents with docValues set to false for the faceting fields and run queries again and FieldValueCache is still empty. Is it possible to use FieldValueCache in solr 6.6? Thanks in advance. Regards, Sile -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: FieldValueCache in solr 6.6
Hi Yonik, Thanks for your answer :). It works. Another question: What is recommended to be used in solr 6.6 for faceting (docValues or UnInvertedField), because UnInvertedField performs better for subsequent requests? I assume that docValues is more beneficial in terms of heap memory use, but should I use fieldValueCache instead if hit ratio is good? Regards, Sile -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html