Class SolrFacetConfig.ConfigHelper

java.lang.Object
org.alfresco.repo.search.impl.solr.facet.SolrFacetConfig.ConfigHelper
Enclosing class:
SolrFacetConfig

public static class SolrFacetConfig.ConfigHelper extends Object
  • Constructor Details

    • ConfigHelper

      public ConfigHelper()
  • Method Details

    • getFacetPropertiesMap

      public static Map<String,SolrFacetProperties> getFacetPropertiesMap(Properties properties, Set<String> inheritanceOrder, NamespaceService namespaceService)
      Convert Java properties into instances of SolrFacetProperties .
      Parameters:
      properties - Java properties with values defining defaults or custom values
      inheritanceOrder - the overriding order. E.g {default, custom} means, the custom will override the default values
      namespaceService - the Namespace service
      Returns:
      Map of SolrFacetProperties with the SolrFacetProperties.filterID as the key or an empty map if none exists