Class SolrCatalogDocumentBuilderAutoConfiguration


  • @Configuration
    public class SolrCatalogDocumentBuilderAutoConfiguration
    extends Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> categorySortSolrDocumentContributor()  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> inventoryAvailabilityStrategyDocumentContributor()  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productActiveDatesSolrDocumentContributor()  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productAllSkusSolrDocumentContributor()  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productCatalogOnlyPricingStrategyDocumentContributor()  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productInventoryAvailableSolrDocumentContributor​(com.broadleafcommerce.search.index.catalog.service.InventoryAvailabilityService inventoryAvailabilityService)  
      ProductOptionSolrDocumentBuilder productOptionSolrDocumentBuilder​(com.broadleafcommerce.search.index.core.service.IndexerSearchService<com.broadleafcommerce.search.api.domain.FieldDefinition> searchService, List<com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument>> documentBuilderContributors, List<com.broadleafcommerce.search.index.core.document.DocumentBuilderPreProcessor> decorators, com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService, com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
      com.broadleafcommerce.search.index.core.document.IndexableTypeDocumentBuilder<com.broadleafcommerce.search.catalog.core.domain.Product,​org.apache.solr.common.SolrInputDocument> productSolrDocumentBuilder​(com.broadleafcommerce.search.index.core.service.IndexerSearchService<com.broadleafcommerce.search.api.domain.FieldDefinition> searchService, List<com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument>> documentBuilderContributors, List<com.broadleafcommerce.search.index.core.document.DocumentBuilderPreProcessor> decorators, com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService, com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper, ProductOptionSolrDocumentBuilder productOptionSolrDocumentBuilder)  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productTranslationSolrDocumentBuilderContributor​(com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService, com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.search.index.core.service.IndexerTenantService tenantService)  
      com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productVendorRefSolrDocumentContributor()  
    • Constructor Detail

      • SolrCatalogDocumentBuilderAutoConfiguration

        public SolrCatalogDocumentBuilderAutoConfiguration()
    • Method Detail

      • productTranslationSolrDocumentBuilderContributor

        @Bean
        @ConditionalOnMissingBean(name="productTranslationSolrDocumentBuilderContributor")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productTranslationSolrDocumentBuilderContributor​(com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService,
                                                                                                                                                                                      com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper,
                                                                                                                                                                                      com.broadleafcommerce.common.extension.TypeFactory typeFactory,
                                                                                                                                                                                      com.broadleafcommerce.search.index.core.service.IndexerTenantService tenantService)
      • productSolrDocumentBuilder

        @Bean
        @ConditionalOnMissingBean
        public com.broadleafcommerce.search.index.core.document.IndexableTypeDocumentBuilder<com.broadleafcommerce.search.catalog.core.domain.Product,​org.apache.solr.common.SolrInputDocument> productSolrDocumentBuilder​(com.broadleafcommerce.search.index.core.service.IndexerSearchService<com.broadleafcommerce.search.api.domain.FieldDefinition> searchService,
                                                                                                                                                                                                                                 List<com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument>> documentBuilderContributors,
                                                                                                                                                                                                                                 List<com.broadleafcommerce.search.index.core.document.DocumentBuilderPreProcessor> decorators,
                                                                                                                                                                                                                                 com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService,
                                                                                                                                                                                                                                 com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper,
                                                                                                                                                                                                                                 ProductOptionSolrDocumentBuilder productOptionSolrDocumentBuilder)
      • productOptionSolrDocumentBuilder

        @Bean
        @ConditionalOnMissingBean(name="productOptionSolrDocumentBuilder")
        public ProductOptionSolrDocumentBuilder productOptionSolrDocumentBuilder​(com.broadleafcommerce.search.index.core.service.IndexerSearchService<com.broadleafcommerce.search.api.domain.FieldDefinition> searchService,
                                                                                 List<com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument>> documentBuilderContributors,
                                                                                 List<com.broadleafcommerce.search.index.core.document.DocumentBuilderPreProcessor> decorators,
                                                                                 com.broadleafcommerce.search.provider.solr.SolrFieldService solrFieldService,
                                                                                 com.broadleafcommerce.search.index.core.document.helper.DocumentBuilderHelper documentBuilderHelper,
                                                                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • productActiveDatesSolrDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="productActiveDatesSolrDocumentContributor")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productActiveDatesSolrDocumentContributor()
      • productAllSkusSolrDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="productAllSkusSolrDocumentContributor")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productAllSkusSolrDocumentContributor()
      • categorySortSolrDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="categoryProductSortSolrDocumentContributor")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> categorySortSolrDocumentContributor()
      • productVendorRefSolrDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="productVendorRefSolrDocumentContributor")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productVendorRefSolrDocumentContributor()
      • productCatalogOnlyPricingStrategyDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="productCatalogOnlyPricingStrategyDocumentContributor")
        @ConditionalOnProperty(value="broadleaf.indexer.catalog.pricing-strategy",
                               havingValue="CATALOG_ONLY",
                               matchIfMissing=true)
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productCatalogOnlyPricingStrategyDocumentContributor()
      • inventoryAvailabilityStrategyDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="inventoryAvailabilityStrategyDocumentContributor")
        @ConditionalOnProperty(name="broadleaf.indexer.catalog.availability-strategy",
                               havingValue="CATALOG_ONLY")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> inventoryAvailabilityStrategyDocumentContributor()
      • productInventoryAvailableSolrDocumentContributor

        @Bean
        @ConditionalOnMissingBean(name="productInventoryAvailableSolrDocumentContributor")
        @ConditionalOnProperty(name="broadleaf.indexer.catalog.availability-strategy",
                               havingValue="CHECK_AVAILABLE_INVENTORY")
        public com.broadleafcommerce.search.index.core.document.DocumentBuilderContributor<org.apache.solr.common.SolrInputDocument> productInventoryAvailableSolrDocumentContributor​(com.broadleafcommerce.search.index.catalog.service.InventoryAvailabilityService inventoryAvailabilityService)