|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.facet.index.params.DefaultFacetIndexingParams
org.apache.lucene.facet.index.params.PerDimensionIndexingParams
public class PerDimensionIndexingParams
A FacetIndexingParams that utilizes different category lists, defined by the
dimension specified CategoryPaths (see
addCategoryListParams(CategoryPath, CategoryListParams)
A 'dimension' is defined as the first or "zero-th" component in a CategoryPath. For example, if a CategoryPath is defined as "/Author/American/Mark Twain", then the dimension is "Author".
This class also uses the 'default' CategoryListParams (as specified by
CategoryListParams.CategoryListParams() when
getCategoryListParams(CategoryPath) is called for a CategoryPath
whose dimension component has not been specifically defined.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.facet.index.params.DefaultFacetIndexingParams |
|---|
DEFAULT_FACET_DELIM_CHAR |
| Constructor Summary | |
|---|---|
PerDimensionIndexingParams()
Construct with the default CategoryListParams as the default
CategoryListParams for unspecified CategoryPaths. |
|
PerDimensionIndexingParams(CategoryListParams categoryListParams)
Construct with the included categoryListParams as the default CategoryListParams for unspecified CategoryPaths. |
|
| Method Summary | |
|---|---|
void |
addCategoryListParams(CategoryPath category,
CategoryListParams clParams)
Add a CategoryListParams for a given CategoryPath's dimension or "zero-th" category. |
Iterable<CategoryListParams> |
getAllCategoryListParams()
Get all the categoryListParams, including the default. |
CategoryListParams |
getCategoryListParams(CategoryPath category)
Get the CategoryListParams based on the dimension or "zero-th category" of the specified CategoryPath. |
| Methods inherited from class org.apache.lucene.facet.index.params.DefaultFacetIndexingParams |
|---|
drillDownTermText, equals, fixedOrdinalPolicy, fixedPartitionSize, fixedPathPolicy, getFacetDelimChar, getOrdinalPolicy, getPartitionSize, getPathPolicy, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerDimensionIndexingParams()
CategoryListParams as the default
CategoryListParams for unspecified CategoryPaths.
public PerDimensionIndexingParams(CategoryListParams categoryListParams)
categoryListParams - the default categoryListParams to use| Method Detail |
|---|
public Iterable<CategoryListParams> getAllCategoryListParams()
getAllCategoryListParams in interface FacetIndexingParamsgetAllCategoryListParams in class DefaultFacetIndexingParamsFacetIndexingParams.getCategoryListParams(CategoryPath)public CategoryListParams getCategoryListParams(CategoryPath category)
getCategoryListParams in interface FacetIndexingParamsgetCategoryListParams in class DefaultFacetIndexingParams
public void addCategoryListParams(CategoryPath category,
CategoryListParams clParams)
category - clParams -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||