Hi Yonik, I have another question related to fieldValueCache. When we uninvert a facet field, and if the termInstances = 0 for a particular field, then also it gets added to the FieldValueCache. What is the reason for caching facet fields with termInstances=0?
In our case, a lot of time is being spent in the 'uninvert' process. From 'time' values , I checked that it goes upto 20secs for certain facet fields. Eg : UnInverted multi-valued field {field=product_brands_61936,memSize=4224,tindexSize=32,time=20202,phase1=20202,nTerms=0,bigTerms=0,termInstances=0,uses=0} Also for the same facet field, the time and phase1 time varies from 3 msec to 20 secs. What is the reason for this variation ? Also what does nTerms represent ? Thanks, Rachita On Mon, Mar 7, 2011 at 8:22 PM, Yonik Seeley <yo...@lucidimagination.com>wrote: > On Mon, Mar 7, 2011 at 9:44 AM, Rachita Choudhary > <rachita.choudh...@burrp.com> wrote: > > As enum method , will create a bitset for all the unique values > > It's more complex than that. > - small sets will use a sorted int set... not a bitset > - you can control what gets cached via facet.enum.cache.minDf parameter > > -Yonik > http://lucidimagination.com >