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.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 |
---|---|
byte[] |
CategoryEnhancement.getCategoryTokenBytes(CategoryAttribute categoryAttribute)
Get the bytes to be added to the category token payload for this
enhancement.
|
Modifier and Type | Method and Description |
---|---|
static AssociationProperty |
AssociationEnhancement.getAssociationProperty(CategoryAttribute categoryAttribute) |
byte[] |
AssociationEnhancement.getCategoryTokenBytes(CategoryAttribute categoryAttribute) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<CategoryAttribute>> |
CategoryDocumentBuilder.categoriesMap |
protected Map<CategoryPath,CategoryAttribute> |
CategoryContainer.map |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
CategoryContainer.addCategory(CategoryAttribute categoryAttribute)
Add an entire
CategoryAttribute . |
CategoryAttribute |
CategoryContainer.addCategory(CategoryPath categoryPath)
Add a category.
|
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.
|
CategoryAttribute |
CategoryContainer.getCategoryAttribute(CategoryPath categoryPath)
Get the
CategoryAttribute this container has for a certain
category, or null if the category is not in the container. |
Modifier and Type | Method and Description |
---|---|
Iterator<CategoryAttribute> |
CategoryContainer.iterator() |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
CategoryContainer.addCategory(CategoryAttribute categoryAttribute)
Add an entire
CategoryAttribute . |
protected void |
CategoryContainer.serializeCategoryAttribute(ObjectOutputStream out,
CategoryAttribute ca)
Serialize each of the
CategoryAttribute s to the given
ObjectOutputStream . |
Modifier and Type | Method and Description |
---|---|
protected void |
CategoryDocumentBuilder.fillCategoriesMap(Iterable<CategoryAttribute> categories)
Fills the categories mapping between a field name and a list of
categories that belongs to it according to this builder's
FacetIndexingParams object |
CategoryDocumentBuilder |
CategoryDocumentBuilder.setCategories(Iterable<CategoryAttribute> categories)
Set the categories of the document builder from an
Iterable of
CategoryAttribute objects. |
Modifier and Type | Class and Description |
---|---|
class |
CategoryAttributeImpl
An implementation of
CategoryAttribute . |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
CategoryAttributeImpl.clone() |
CategoryAttribute |
CategoryAttribute.clone()
Clone this
CategoryAttribute . |
Modifier and Type | Method and Description |
---|---|
Iterator<CategoryAttribute> |
CategoryAttributesIterable.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
CategoryAttributeImpl.set(CategoryAttribute other) |
void |
CategoryAttribute.set(CategoryAttribute other)
Set the content of this
CategoryAttribute from another
CategoryAttribute object. |
Modifier and Type | Field and Description |
---|---|
protected CategoryAttribute |
CategoryTokenizerBase.categoryAttribute
The stream's category attributes.
|
protected CategoryAttribute |
CategoryParentsStream.categoryAttribute
An attribute containing all data related to the category
|
protected CategoryAttribute |
CategoryAttributesStream.categoryAttribute |
Constructor and Description |
---|
CategoryAttributesStream(Iterable<CategoryAttribute> iterable)
Constructor
|