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 | Description |
---|---|---|
byte[] |
CategoryEnhancement.getCategoryTokenBytes(CategoryAttribute categoryAttribute) |
Get the bytes to be added to the category token payload for this
enhancement.
|
Modifier and Type | Method | Description |
---|---|---|
static AssociationProperty |
AssociationEnhancement.getAssociationProperty(CategoryAttribute categoryAttribute) |
|
byte[] |
AssociationEnhancement.getCategoryTokenBytes(CategoryAttribute categoryAttribute) |
Modifier and Type | Field | Description |
---|---|---|
protected Map<String,List<CategoryAttribute>> |
CategoryDocumentBuilder.categoriesMap |
|
protected Map<CategoryPath,CategoryAttribute> |
CategoryContainer.map |
Modifier and Type | Method | Description |
---|---|---|
CategoryAttribute |
CategoryContainer.addCategory(CategoryAttribute categoryAttribute) |
Add an entire
CategoryAttribute . |
CategoryAttribute |
CategoryContainer.addCategory(CategoryPath categoryPath) |
Add a category.
|
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.
|
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 | Description |
---|---|---|
Iterator<CategoryAttribute> |
CategoryContainer.iterator() |
Modifier and Type | Method | 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 .NOTE: CategoryProperty s are Serializable , but do not
assume that Lucene's Attribute s are as well |
Modifier and Type | Method | 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 | Description |
---|---|---|
class |
CategoryAttributeImpl |
An implementation of
CategoryAttribute . |
Modifier and Type | Method | Description |
---|---|---|
CategoryAttribute |
CategoryAttribute.clone() |
Clone this
CategoryAttribute . |
CategoryAttribute |
CategoryAttributeImpl.clone() |
Modifier and Type | Method | Description |
---|---|---|
Iterator<CategoryAttribute> |
CategoryAttributesIterable.iterator() |
Modifier and Type | Method | Description |
---|---|---|
void |
CategoryAttribute.set(CategoryAttribute other) |
Set the content of this
CategoryAttribute from another
CategoryAttribute object. |
void |
CategoryAttributeImpl.set(CategoryAttribute other) |
Modifier and Type | Field | Description |
---|---|---|
protected CategoryAttribute |
CategoryAttributesStream.categoryAttribute |
|
protected CategoryAttribute |
CategoryParentsStream.categoryAttribute |
An attribute containing all data related to the category
|
protected CategoryAttribute |
CategoryTokenizerBase.categoryAttribute |
The stream's category attributes.
|
Constructor | Description |
---|---|
CategoryAttributesStream(Iterable<CategoryAttribute> iterable) |
Constructor
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.