public class FacetHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,javax.jcr.query.qom.PropertyValue> |
columns
The columns to select.
|
static int |
FACET_COLUMNS |
static int |
ONLY_FACET_COLUMNS |
protected javax.jcr.query.qom.Selector |
selector |
protected org.apache.jackrabbit.core.SessionImpl |
session
Component context of the current session
|
| Constructor and Description |
|---|
FacetHandler(Map<String,javax.jcr.query.qom.PropertyValue> columns,
javax.jcr.query.qom.Selector selector,
org.apache.lucene.util.OpenBitSet docIdSet,
org.apache.jackrabbit.core.query.lucene.SearchIndex index,
org.apache.jackrabbit.core.SessionImpl session,
org.apache.jackrabbit.core.query.lucene.NamespaceMappings nsMappings) |
| Modifier and Type | Method and Description |
|---|---|
FacetRow |
getFacetsRow() |
String |
getFieldNameInIndex(String field,
ExtendedPropertyDefinition epd,
String langCode) |
void |
handleFacets(org.apache.lucene.index.IndexReader reader)
Process facets information for the specified IndexReader.
|
static int |
hasFacetFunctions(Map<String,javax.jcr.query.qom.PropertyValue> columns,
org.apache.jackrabbit.core.SessionImpl session) |
public static final int FACET_COLUMNS
public static final int ONLY_FACET_COLUMNS
protected final org.apache.jackrabbit.core.SessionImpl session
protected javax.jcr.query.qom.Selector selector
public FacetHandler(Map<String,javax.jcr.query.qom.PropertyValue> columns, javax.jcr.query.qom.Selector selector, org.apache.lucene.util.OpenBitSet docIdSet, org.apache.jackrabbit.core.query.lucene.SearchIndex index, org.apache.jackrabbit.core.SessionImpl session, org.apache.jackrabbit.core.query.lucene.NamespaceMappings nsMappings)
public static int hasFacetFunctions(Map<String,javax.jcr.query.qom.PropertyValue> columns, org.apache.jackrabbit.core.SessionImpl session)
public void handleFacets(org.apache.lucene.index.IndexReader reader)
reader - public String getFieldNameInIndex(String field, ExtendedPropertyDefinition epd, String langCode)
public FacetRow getFacetsRow()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.