public interface EnhancementsIndexingParams extends FacetIndexingParams
Facet indexing parameters
for defining
category enhancements
. It must contain at least
one enhancement, otherwise nothing is "enhanced" about it. When there are
more than one, the order matters - see getCategoryEnhancements()
.EnhancementsDocumentBuilder
Modifier and Type | Method and Description |
---|---|
void |
addCategoryEnhancements(CategoryEnhancement... enhancements)
Add
CategoryEnhancement s to the indexing parameters |
List<CategoryEnhancement> |
getCategoryEnhancements()
Get a list of the active category enhancements.
|
List<Class<? extends CategoryProperty>> |
getRetainableProperties()
Get a list of
CategoryProperty classes to be retained when
creating CategoryParentsStream . |
drillDownTermText, getAllCategoryListParams, getCategoryListParams, getFacetDelimChar, getOrdinalPolicy, getPartitionSize, getPathPolicy
void addCategoryEnhancements(CategoryEnhancement... enhancements)
CategoryEnhancement
s to the indexing parametersenhancements
- enhancements to addList<CategoryEnhancement> getCategoryEnhancements()
null
. The order of enhancements in the returned list
dictates the order in which the enhancements data appear in the category
tokens payload.null
if
there are no enhancements.List<Class<? extends CategoryProperty>> getRetainableProperties()
CategoryProperty
classes to be retained when
creating CategoryParentsStream
.CategoryProperty
classes to be retained when
creating CategoryParentsStream
, or null
if there
are no such properties.