Package | Description |
---|---|
org.apache.lucene.facet.enhancements |
Enhanced category features
Mechanisms for addition of enhanced category features.
|
org.apache.lucene.facet.enhancements.association |
Association category enhancements
A
CategoryEnhancement
for adding associations data to the index (categories with
AssociationProperty 's). |
org.apache.lucene.facet.enhancements.params |
Enhanced category features
FacetIndexingParams
used by
EnhancementsDocumentBuilder
for adding
CategoryEnhancement 's
to the indexing parameters, and accessing them during indexing and search. |
org.apache.lucene.facet.index |
Indexing of document categories
Attachment of
CategoryPath 's
or CategoryAttribute 's
to a given document using a
Taxonomy . |
org.apache.lucene.facet.index.attributes |
Category attributes and their properties for indexing
Attributes for a
category ,
possibly containing
category property 's. |
org.apache.lucene.facet.index.streaming |
Expert: attributes streaming definition for indexing facets
Steaming of facets attributes is a low level indexing interface with Lucene indexing.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends CategoryProperty> |
CategoryEnhancement.getRetainableProperty()
Get a
CategoryProperty class to be retained when creating
CategoryParentsStream . |
Modifier and Type | Class and Description |
---|---|
class |
AssociationFloatProperty
An
AssociationProperty 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
An
AssociationProperty which treats the association as int - merges
two associations by summation. |
class |
AssociationProperty
A
CategoryProperty associating a single integer value to a
CategoryAttribute . |
Modifier and Type | Method and Description |
---|---|
Class<? extends CategoryProperty> |
AssociationEnhancement.getRetainableProperty() |
Modifier and Type | Method and Description |
---|---|
void |
AssociationIntProperty.merge(CategoryProperty other) |
void |
AssociationFloatProperty.merge(CategoryProperty other) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
List<Class<? extends CategoryProperty>> |
EnhancementsIndexingParams.getRetainableProperties()
Get a list of
CategoryProperty classes to be retained when
creating CategoryParentsStream . |
List<Class<? extends CategoryProperty>> |
DefaultEnhancementsIndexingParams.getRetainableProperties() |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
CategoryContainer.addCategory(CategoryPath categoryPath,
CategoryProperty... properties)
Add a category with multiple properties.
|
CategoryAttribute |
CategoryContainer.addCategory(CategoryPath categoryPath,
CategoryProperty property)
Add a category with a property.
|
Modifier and Type | Class and Description |
---|---|
class |
OrdinalProperty
A
CategoryProperty holding the ordinal from the taxonomy of the
current category in CategoryAttribute . |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
CategoryProperty |
CategoryAttributeImpl.getProperty(Class<? extends CategoryProperty> propertyClass) |
CategoryProperty |
CategoryAttribute.getProperty(Class<? extends CategoryProperty> propertyClass)
Get a property of a certain property class.
|
CategoryProperty |
CategoryAttributeImpl.getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses) |
CategoryProperty |
CategoryAttribute.getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
Get a property of one of given property classes.
|
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends CategoryProperty>> |
CategoryAttributeImpl.getPropertyClasses() |
Set<Class<? extends CategoryProperty>> |
CategoryAttribute.getPropertyClasses()
Get all the active property classes.
|
Modifier and Type | Method and Description |
---|---|
void |
CategoryAttributeImpl.addProperty(CategoryProperty property) |
void |
CategoryAttribute.addProperty(CategoryProperty property)
Add a property.
|
void |
OrdinalProperty.merge(CategoryProperty other) |
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.
|
Modifier and Type | Method and Description |
---|---|
CategoryProperty |
CategoryAttributeImpl.getProperty(Class<? extends CategoryProperty> propertyClass) |
CategoryProperty |
CategoryAttribute.getProperty(Class<? extends CategoryProperty> propertyClass)
Get a property of a certain property class.
|
CategoryProperty |
CategoryAttributeImpl.getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses) |
CategoryProperty |
CategoryAttribute.getProperty(Collection<Class<? extends CategoryProperty>> propertyClasses)
Get a property of one of given property classes.
|
void |
CategoryAttributeImpl.remove(Class<? extends CategoryProperty> propertyClass) |
void |
CategoryAttribute.remove(Class<? extends CategoryProperty> propertyClass)
Remove an property of a certain property class.
|
Modifier and Type | Method and Description |
---|---|
void |
CategoryParentsStream.addRetainableProperty(Class<? extends CategoryProperty> toRetain)
Add a
CategoryProperty class which is retained when creating
parent tokens. |