Class SolrIndexDaoImpl

java.lang.Object
org.broadleafcommerce.core.search.dao.SolrIndexDaoImpl
All Implemented Interfaces:
SolrIndexDao

@Repository("blSolrIndexDao") public class SolrIndexDaoImpl extends Object implements SolrIndexDao
Author:
Jeff Fischer
See Also:
  • Field Details

    • LOG

      protected static final org.apache.commons.logging.Log LOG
    • em

      protected jakarta.persistence.EntityManager em
    • sandBoxHelper

      protected org.broadleafcommerce.common.sandbox.SandBoxHelper sandBoxHelper
  • Constructor Details

    • SolrIndexDaoImpl

      public SolrIndexDaoImpl()
  • Method Details

    • populateProductCatalogStructure

      public void populateProductCatalogStructure(List<Long> productIds, CatalogStructure catalogStructure)
      Description copied from interface: SolrIndexDao
      Populate the contents of a lightweight catalog structure for a list of products.
      Specified by:
      populateProductCatalogStructure in interface SolrIndexDao
      catalogStructure - lightweight container defining product and category hierarchies
      See Also:
    • readFullCategoryHierarchy

      protected void readFullCategoryHierarchy(Map<Long,Set<Long>> categoryHierarchy, Set<Long> builtCategories)
      Build up a map of category to parent categories
      Parameters:
      categoryHierarchy -