big terms in UnInvertedField

2010-11-01 Thread Koji Sekiguchi
Hello, With solr example, using facet.field=text creates UnInvertedField for the text field in fieldValueCache. After that, I saw stats page and I was surprised at counters in *filterCache* were up: lookups : 213 hits : 106 hitratio : 0.49 inserts : 107 evictions : 0 size : 107 warmupTime : 0

Re: big terms in UnInvertedField

2010-11-01 Thread Yonik Seeley
. big terms (defined as matching more than 5% of the index) are not uninverted since it's more efficient (both CPU and memory) to use the filterCache and calculate intersections. If so, when using both facet for multiValued field and facet for single valued field/facet query, it is difficult

Re: big terms in UnInvertedField

2010-11-01 Thread Koji Sekiguchi
in fieldValueCache. After that, I saw stats page and I was surprised at counters in *filterCache* were up: Do they cause of big words in UnInvertedField? Yes. big terms (defined as matching more than 5% of the index) are not uninverted since it's more efficient (both CPU and memory) to use the filterCache