| /lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/params/ |
| H A D | FacetSearchParams.java | 42 private CategoryListCache clCache = null; field in class:FacetSearchParams 120 return clCache; 125 * @param clCache the cldCache to set 127 public void setClCache(CategoryListCache clCache) { argument 128 this.clCache = clCache;
|
| /lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/ |
| H A D | TestCategoryListCache.java | 85 CategoryListCache clCache = new CategoryListCache(); 86 clCache.loadAndRegister(clp, indexReader, taxoReader, iparams); 89 messCachedData(clCache, clp); 91 sParams.setClCache(clCache); 106 private void messCachedData(CategoryListCache clCache, CategoryListParams clp) { argument 107 final CategoryListData cld = clCache.get(clp); 129 clCache.register(clp, badCld);
|
| /lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/ |
| H A D | TotalFacetCounts.java | 154 final CategoryListCache clCache) throws IOException { 167 final CategoryListIterator cli = clIteraor(clCache, clp, indexReader, partition); 178 static CategoryListIterator clIteraor(CategoryListCache clCache, CategoryListParams clp, argument 180 if (clCache != null) { 181 CategoryListData cld = clCache.get(clp); 152 compute(final IndexReader indexReader, final TaxonomyReader taxonomy, final FacetIndexingParams facetIndexingParams, final CategoryListCache clCache) argument
|
| H A D | TotalFacetCountsCache.java | 88 * @param clCache category list cache for faster computation, can be null 92 FacetIndexingParams facetIndexingParams, CategoryListCache clCache) throws IOException { 102 return computeAndCache(key, clCache); 152 private synchronized TotalFacetCounts computeAndCache(TFCKey key, CategoryListCache clCache) throws IOException { argument 155 tfc = TotalFacetCounts.compute(key.indexReader, key.taxonomy, key.facetIndexingParams, clCache); 196 * @param clCache category list cache for faster computation, can be null 202 FacetIndexingParams facetIndexingParams, CategoryListCache clCache) throws IOException { 210 TotalFacetCounts tfc = getTotalCounts(indexReader, taxonomy, facetIndexingParams, clCache); 91 getTotalCounts(IndexReader indexReader, TaxonomyReader taxonomy, FacetIndexingParams facetIndexingParams, CategoryListCache clCache) argument 201 store(File outputFile, IndexReader indexReader, TaxonomyReader taxonomy, FacetIndexingParams facetIndexingParams, CategoryListCache clCache) argument
|
| /lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/params/ |
| H A D | MultiIteratorsPerCLParamsTest.java | 99 CategoryListCache clCache = null; 103 clCache = new CategoryListCache(); 104 clCache.loadAndRegister(clp, reader, taxo, iParams); 113 validateFacetedSearch(iParams, taxo, reader, clCache, allDocs, "author", 5, 5); 118 validateFacetedSearch(iParams, taxo, reader, clCache, allDocs, "date", 5, 2); 122 validateFacetedSearch(iParams, taxo, reader, clCache, allDocs, new String[] { 131 TaxonomyReader taxo, IndexReader reader, CategoryListCache clCache, 133 validateFacetedSearch(iParams, taxo, reader, clCache, allDocs, 139 TaxonomyReader taxo, IndexReader reader, CategoryListCache clCache, ScoredDocIDs allDocs, 144 sParams.setClCache(clCache); 130 validateFacetedSearch(FacetIndexingParams iParams, TaxonomyReader taxo, IndexReader reader, CategoryListCache clCache, ScoredDocIDs allDocs, String dimension, int expectedValue, int expectedNumDescendants) argument 138 validateFacetedSearch(FacetIndexingParams iParams, TaxonomyReader taxo, IndexReader reader, CategoryListCache clCache, ScoredDocIDs allDocs, String[] dimension, int[] expectedValue, int[] expectedNumDescendants) argument [all...] |