public class ContentTypeCategoryMapperFactory extends Object implements CategoryMapperFactory
CategoryMapper
instances which have
an already created cache of content types for the index.Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.search.FieldCache.ByteParser |
BYTE_PARSER
Parser responsible for converting content type string values into their byte equivalents for storage in memory.
|
Constructor and Description |
---|
ContentTypeCategoryMapperFactory() |
Modifier and Type | Method and Description |
---|---|
CategoryMapper |
getCategoryMapper(org.apache.lucene.index.AtomicReaderContext context) |
public static final org.apache.lucene.search.FieldCache.ByteParser BYTE_PARSER
FieldCache
is keyed with a combination of the
index reader and the byte parser.public CategoryMapper getCategoryMapper(org.apache.lucene.index.AtomicReaderContext context)
getCategoryMapper
in interface CategoryMapperFactory
Copyright © 2003–2016 Atlassian. All rights reserved.