| Package | Description |
|---|---|
| org.apache.lucene.facet.enhancements |
Enhanced category features
|
| org.apache.lucene.facet.enhancements.association |
Association category enhancements
|
| org.apache.lucene.facet.index |
Indexing of document categories
|
| org.apache.lucene.facet.index.attributes |
Category attributes and their properties for indexing
|
| org.apache.lucene.facet.index.streaming |
Expert: attributes streaming definition for indexing facets
|
| 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
CategoryAttributes to the given
ObjectOutputStream.NOTE: CategoryPropertys are Serializable, but do not
assume that Lucene's Attributes are as well |
| 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 |
CategoryAttributesStream.categoryAttribute |
protected CategoryAttribute |
CategoryParentsStream.categoryAttribute
An attribute containing all data related to the category
|
| Constructor and Description |
|---|
CategoryAttributesStream(Iterable<CategoryAttribute> iterable)
Constructor
|