Class CategoryListCache
- java.lang.Object
-
- org.apache.lucene.facet.search.cache.CategoryListCache
-
public class CategoryListCache extends Object
Cache forCategoryListData
, perCategoryListParams
.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description CategoryListCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryListData
get(CategoryListParams clp)
Fetch the cachedCategoryListData
for a givenCategoryListParams
.void
loadAndRegister(CategoryListParams clp, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxo, FacetIndexingParams iparams)
Load and registerCategoryListData
.void
register(CategoryListParams clp, CategoryListData clData)
Register a pre-computedCategoryListData
.
-
-
-
Method Detail
-
get
public CategoryListData get(CategoryListParams clp)
Fetch the cachedCategoryListData
for a givenCategoryListParams
.
-
register
public void register(CategoryListParams clp, CategoryListData clData)
Register a pre-computedCategoryListData
.
-
loadAndRegister
public void loadAndRegister(CategoryListParams clp, org.apache.lucene.index.IndexReader reader, TaxonomyReader taxo, FacetIndexingParams iparams) throws IOException
Load and registerCategoryListData
.- Throws:
IOException
-
-