Class FacetHelper
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.index.lucene.util.FacetHelper
-
public class FacetHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_FACET_FIELDS
IndexPaln Attribute name which refers to the name of the fields that should be used for facets.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Facets
getFacets(IndexSearcher searcher, Query query, QueryIndex.IndexPlan plan, org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.SecureFacetConfiguration secureFacetConfiguration)
static FacetsConfig
getFacetsConfig(NodeBuilder definition)
static java.lang.String
parseFacetField(java.lang.String columnName)
-
-
-
Field Detail
-
ATTR_FACET_FIELDS
public static final java.lang.String ATTR_FACET_FIELDS
IndexPaln Attribute name which refers to the name of the fields that should be used for facets.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFacetsConfig
public static FacetsConfig getFacetsConfig(NodeBuilder definition)
-
getFacets
public static Facets getFacets(IndexSearcher searcher, Query query, QueryIndex.IndexPlan plan, org.apache.jackrabbit.oak.plugins.index.search.IndexDefinition.SecureFacetConfiguration secureFacetConfiguration) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFacetField
public static java.lang.String parseFacetField(java.lang.String columnName)
-
-