
public class OLuceneFacetManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.facet.FacetsConfig |
config |
protected static String |
FACET |
static String |
FACET_FIELDS |
protected String |
facetField |
protected org.apache.lucene.facet.taxonomy.TaxonomyWriter |
taxonomyWriter |
| Constructor and Description |
|---|
OLuceneFacetManager(OStorage storage,
OLuceneIndexEngineAbstract owner,
ODocument metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFacetContext(OLuceneQueryContext queryContext,
Object key) |
org.apache.lucene.document.Document |
buildDocument(org.apache.lucene.document.Document doc) |
protected org.apache.lucene.index.IndexableField |
buildFacetField(String f,
Object val) |
protected void |
buildFacetIndexIfNeeded() |
void |
commit() |
void |
delete() |
protected String |
getIndexFacetPath(OLocalPaginatedStorage storageLocalAbstract) |
protected boolean |
isFacetField(String field) |
protected Boolean |
supportsFacets() |
public static final String FACET_FIELDS
protected static final String FACET
protected org.apache.lucene.facet.taxonomy.TaxonomyWriter taxonomyWriter
protected org.apache.lucene.facet.FacetsConfig config
protected String facetField
public OLuceneFacetManager(OStorage storage, OLuceneIndexEngineAbstract owner, ODocument metadata) throws IOException
IOExceptionprotected void buildFacetIndexIfNeeded()
throws IOException
IOExceptionprotected String getIndexFacetPath(OLocalPaginatedStorage storageLocalAbstract)
public void delete()
protected Boolean supportsFacets()
protected boolean isFacetField(String field)
protected org.apache.lucene.index.IndexableField buildFacetField(String f, Object val)
public org.apache.lucene.document.Document buildDocument(org.apache.lucene.document.Document doc)
throws IOException
IOExceptionpublic void commit()
public void addFacetContext(OLuceneQueryContext queryContext, Object key) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.