Uses of Interface
org.apache.lucene.facet.index.attributes.CategoryAttribute
-
Packages that use CategoryAttribute Package Description org.apache.lucene.facet.enhancements Enhanced category featuresorg.apache.lucene.facet.enhancements.association Association category enhancementsorg.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 CategoryAttribute in org.apache.lucene.facet.enhancements
Methods in org.apache.lucene.facet.enhancements with parameters of type CategoryAttribute Modifier and Type Method Description byte[]
CategoryEnhancement. getCategoryTokenBytes(CategoryAttribute categoryAttribute)
Get the bytes to be added to the category token payload for this enhancement. -
Uses of CategoryAttribute in org.apache.lucene.facet.enhancements.association
Methods in org.apache.lucene.facet.enhancements.association with parameters of type CategoryAttribute Modifier and Type Method Description static AssociationProperty
AssociationEnhancement. getAssociationProperty(CategoryAttribute categoryAttribute)
byte[]
AssociationEnhancement. getCategoryTokenBytes(CategoryAttribute categoryAttribute)
-
Uses of CategoryAttribute in org.apache.lucene.facet.index
Fields in org.apache.lucene.facet.index with type parameters of type CategoryAttribute Modifier and Type Field Description protected Map<String,List<CategoryAttribute>>
CategoryDocumentBuilder. categoriesMap
protected Map<CategoryPath,CategoryAttribute>
CategoryContainer. map
Methods in org.apache.lucene.facet.index that return CategoryAttribute Modifier and Type Method Description CategoryAttribute
CategoryContainer. addCategory(CategoryAttribute categoryAttribute)
Add an entireCategoryAttribute
.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 theCategoryAttribute
this container has for a certain category, ornull
if the category is not in the container.Methods in org.apache.lucene.facet.index that return types with arguments of type CategoryAttribute Modifier and Type Method Description Iterator<CategoryAttribute>
CategoryContainer. iterator()
Methods in org.apache.lucene.facet.index with parameters of type CategoryAttribute Modifier and Type Method Description CategoryAttribute
CategoryContainer. addCategory(CategoryAttribute categoryAttribute)
Add an entireCategoryAttribute
.protected void
CategoryContainer. serializeCategoryAttribute(ObjectOutputStream out, CategoryAttribute ca)
Serialize each of theCategoryAttribute
s to the givenObjectOutputStream
.
NOTE:CategoryProperty
s areSerializable
, but do not assume that Lucene'sAttribute
s are as wellMethod parameters in org.apache.lucene.facet.index with type arguments of type CategoryAttribute 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'sFacetIndexingParams
objectCategoryDocumentBuilder
CategoryDocumentBuilder. setCategories(Iterable<CategoryAttribute> categories)
Set the categories of the document builder from anIterable
ofCategoryAttribute
objects. -
Uses of CategoryAttribute in org.apache.lucene.facet.index.attributes
Classes in org.apache.lucene.facet.index.attributes that implement CategoryAttribute Modifier and Type Class Description class
CategoryAttributeImpl
An implementation ofCategoryAttribute
.Methods in org.apache.lucene.facet.index.attributes that return CategoryAttribute Modifier and Type Method Description CategoryAttribute
CategoryAttribute. clone()
Clone thisCategoryAttribute
.CategoryAttribute
CategoryAttributeImpl. clone()
Methods in org.apache.lucene.facet.index.attributes that return types with arguments of type CategoryAttribute Modifier and Type Method Description Iterator<CategoryAttribute>
CategoryAttributesIterable. iterator()
Methods in org.apache.lucene.facet.index.attributes with parameters of type CategoryAttribute Modifier and Type Method Description void
CategoryAttribute. set(CategoryAttribute other)
Set the content of thisCategoryAttribute
from anotherCategoryAttribute
object.void
CategoryAttributeImpl. set(CategoryAttribute other)
-
Uses of CategoryAttribute in org.apache.lucene.facet.index.streaming
Fields in org.apache.lucene.facet.index.streaming declared as CategoryAttribute Modifier and Type Field Description protected CategoryAttribute
CategoryAttributesStream. categoryAttribute
protected CategoryAttribute
CategoryParentsStream. categoryAttribute
An attribute containing all data related to the categoryprotected CategoryAttribute
CategoryTokenizerBase. categoryAttribute
The stream's category attributes.Constructor parameters in org.apache.lucene.facet.index.streaming with type arguments of type CategoryAttribute Constructor Description CategoryAttributesStream(Iterable<CategoryAttribute> iterable)
Constructor
-