}
@Override
public MultiValueFacetDataCache load(BoboIndexReader reader, WorkArea workArea) throws IOException
{
MultiValueFacetDataCache dataCache = new MultiValueFacetDataCache();
dataCache.setMaxItems(_maxItems);
if(_sizePayloadTerm == null)
{
dataCache.load(_indexFieldName, reader, _termListFactory, workArea);
}
else
{
dataCache.load(_indexFieldName, reader, _termListFactory, _sizePayloadTerm);
}
return dataCache;
}