Class FacetHelper


  • public class FacetHelper
    extends java.lang.Object
    • 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

      • 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)