Uses of Interface
org.apache.lucene.facet.index.attributes.CategoryProperty
-
Packages that use CategoryProperty Package Description org.apache.lucene.facet.enhancements Enhanced category featuresorg.apache.lucene.facet.enhancements.association Association category enhancementsorg.apache.lucene.facet.enhancements.params Enhanced category featuresorg.apache.lucene.facet.index Indexing of document categoriesorg.apache.lucene.facet.index.attributes Category attributes and their properties for indexingorg.apache.lucene.facet.index.streaming Expert: attributes streaming definition for indexing facets -
-
Uses of CategoryProperty in org.apache.lucene.facet.enhancements
Methods in org.apache.lucene.facet.enhancements that return types with arguments of type CategoryProperty Modifier and Type Method Description Class<? extends CategoryProperty>
CategoryEnhancement. getRetainableProperty()
Get aCategoryProperty
class to be retained when creatingCategoryParentsStream
. -
Uses of CategoryProperty in org.apache.lucene.facet.enhancements.association
Classes in org.apache.lucene.facet.enhancements.association that implement CategoryProperty Modifier and Type Class Description class
AssociationFloatProperty
AnAssociationProperty
which treats the association as float - the association bits are actually float bits, and thus merging two associations is done by float summation.class
AssociationIntProperty
AnAssociationProperty
which treats the association as int - merges two associations by summation.class
AssociationProperty
ACategoryProperty
associating a single integer value to aCategoryAttribute
.Methods in org.apache.lucene.facet.enhancements.association that return types with arguments of type CategoryProperty Modifier and Type Method Description Class<? extends CategoryProperty>
AssociationEnhancement. getRetainableProperty()
Methods in org.apache.lucene.facet.enhancements.association with parameters of type CategoryProperty Modifier and Type Method Description void
AssociationFloatProperty. merge(CategoryProperty other)
void
AssociationIntProperty. merge(CategoryProperty other)
Method parameters in org.apache.lucene.facet.enhancements.association with type arguments of type CategoryProperty Modifier and Type Method Description static boolean
AssociationEnhancement. isAssociationProperty(Class<? extends CategoryProperty> clazz)
For a given class which extends a CategoryProperty, answers whether it is an instance of AssociationProperty (AP) or not. -
Uses of CategoryProperty in org.apache.lucene.facet.enhancements.params
Methods in org.apache.lucene.facet.enhancements.params that return types with arguments of type CategoryProperty Modifier and Type Method Description List<Class<? extends CategoryProperty>>
DefaultEnhancementsIndexingParams. getRetainableProperties()
List<Class<? extends CategoryProperty>>
EnhancementsIndexingParams. getRetainableProperties()
Get a list ofCategoryProperty
classes to be retained when creatingCategoryParentsStream
. -
Uses of CategoryProperty in org.apache.lucene.facet.index
Methods in org.apache.lucene.facet.index with parameters of type CategoryProperty Modifier and Type Method Description CategoryAttribute
CategoryContainer. addCategory(CategoryPath categoryPath, CategoryProperty property)
Add a category with a property.CategoryAttribute
CategoryContainer. addCategory(CategoryPath categoryPath, CategoryProperty... properties)
Add a category with multiple properties. -
Uses of CategoryProperty in org.apache.lucene.facet.index.attributes
Classes in org.apache.lucene.facet.index.attributes that implement CategoryProperty Modifier and Type Class Description class
OrdinalProperty
ACategoryProperty
holding the ordinal from the taxonomy of the current category inCategoryAttribute
.Fields in org.apache.lucene.facet.index.attributes with type parameters of type CategoryProperty Modifier and Type Field Description protected HashMap<Class<? extends CategoryProperty>,CategoryProperty>
CategoryAttributeImpl. properties
A map of properties associated to the current category path.protected HashMap<Class<? extends CategoryProperty>,CategoryProperty>
CategoryAttributeImpl. properties
A map of properties associated to the current category path.Methods in org.apache.lucene.facet.index.attributes that return CategoryProperty Modifier and Type Method Description CategoryProperty
CategoryAttribute. getProperty(Class<? extends CategoryProperty> propertyClass)
Get a property of a certain property class.CategoryProperty
CategoryAttribute. getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
Get a property of one of given property classes.CategoryProperty
CategoryAttributeImpl. getProperty(Class<? extends CategoryProperty> propertyClass)
CategoryProperty
CategoryAttributeImpl. getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
Methods in org.apache.lucene.facet.index.attributes that return types with arguments of type CategoryProperty Modifier and Type Method Description Set<Class<? extends CategoryProperty>>
CategoryAttribute. getPropertyClasses()
Get all the active property classes.Set<Class<? extends CategoryProperty>>
CategoryAttributeImpl. getPropertyClasses()
Methods in org.apache.lucene.facet.index.attributes with parameters of type CategoryProperty Modifier and Type Method Description void
CategoryAttribute. addProperty(CategoryProperty property)
Add a property.void
CategoryAttributeImpl. addProperty(CategoryProperty property)
void
CategoryProperty. merge(CategoryProperty other)
When adding categories with properties to a certain document, it is possible that the same category will be added more than once with different instances of the same property.void
OrdinalProperty. merge(CategoryProperty other)
Method parameters in org.apache.lucene.facet.index.attributes with type arguments of type CategoryProperty Modifier and Type Method Description CategoryProperty
CategoryAttribute. getProperty(Class<? extends CategoryProperty> propertyClass)
Get a property of a certain property class.CategoryProperty
CategoryAttribute. getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
Get a property of one of given property classes.CategoryProperty
CategoryAttributeImpl. getProperty(Class<? extends CategoryProperty> propertyClass)
CategoryProperty
CategoryAttributeImpl. getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
void
CategoryAttribute. remove(Class<? extends CategoryProperty> propertyClass)
Remove an property of a certain property class.void
CategoryAttributeImpl. remove(Class<? extends CategoryProperty> propertyClass)
-
Uses of CategoryProperty in org.apache.lucene.facet.index.streaming
Method parameters in org.apache.lucene.facet.index.streaming with type arguments of type CategoryProperty Modifier and Type Method Description void
CategoryParentsStream. addRetainableProperty(Class<? extends CategoryProperty> toRetain)
Add aCategoryProperty
class which is retained when creating parent tokens.
-