public class PerDimensionIndexingParams extends DefaultFacetIndexingParams
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.
DEFAULT_FACET_DELIM_CHAR
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
drillDownTermText, equals, fixedOrdinalPolicy, fixedPartitionSize, fixedPathPolicy, getFacetDelimChar, getOrdinalPolicy, getPartitionSize, getPathPolicy, hashCode
public PerDimensionIndexingParams()
CategoryListParams
as the default
CategoryListParams for unspecified CategoryPaths.public PerDimensionIndexingParams(CategoryListParams categoryListParams)
categoryListParams
- the default categoryListParams to usepublic Iterable<CategoryListParams> getAllCategoryListParams()
getAllCategoryListParams
in interface FacetIndexingParams
getAllCategoryListParams
in class DefaultFacetIndexingParams
FacetIndexingParams.getCategoryListParams(CategoryPath)
public CategoryListParams getCategoryListParams(CategoryPath category)
getCategoryListParams
in interface FacetIndexingParams
getCategoryListParams
in class DefaultFacetIndexingParams
public void addCategoryListParams(CategoryPath category, CategoryListParams clParams)
category
- clParams
-