Uses of Interface
org.broadleafcommerce.core.catalog.domain.Indexable
Packages that use Indexable
Package
Description
-
Uses of Indexable in org.broadleafcommerce.core.catalog.domain
Subinterfaces of Indexable in org.broadleafcommerce.core.catalog.domainModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface are used to hold data for a Product.interfaceDeprecated.instead, use the ProductType Module's Product Add-Ons to build and configure bundlesinterfaceImplementations of this interface are used to hold data about a SKU.Classes in org.broadleafcommerce.core.catalog.domain that implement Indexable -
Uses of Indexable in org.broadleafcommerce.core.search.service.solr
Methods in org.broadleafcommerce.core.search.service.solr with parameters of type IndexableModifier and TypeMethodDescriptionSolrHelperService.getCurrentProductId(Indexable indexable) SolrHelperServiceImpl.getCurrentProductId(Indexable indexable) SolrHelperService.getDocumentType(Indexable indexable) Returns the type for the given Indexable.SolrHelperServiceImpl.getDocumentType(Indexable indexable) SolrHelperService.getIndexableId(Indexable indexable) In certain cases, the sku id used for Solr indexing is different than the direct id on the sku.SolrHelperServiceImpl.getIndexableId(Indexable indexable) SolrHelperService.getProductForIndexable(Indexable indexable) SolrHelperServiceImpl.getProductForIndexable(Indexable indexable) SolrHelperService.getSolrDocumentId(org.apache.solr.common.SolrInputDocument document, Indexable indexable) SolrHelperServiceImpl.getSolrDocumentId(org.apache.solr.common.SolrInputDocument document, Indexable indexable) -
Uses of Indexable in org.broadleafcommerce.core.search.service.solr.index
Methods in org.broadleafcommerce.core.search.service.solr.index that return types with arguments of type IndexableModifier and TypeMethodDescriptionSolrIndexServiceImpl.readAllActiveIndexables(int pageSize, Long lastId) SolrIndexOperation.readIndexables(int pageSize, Long lastId) Perform the a read of theIndexableitems for a particular page and pageSizeMethods in org.broadleafcommerce.core.search.service.solr.index with parameters of type IndexableModifier and TypeMethodDescriptionorg.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable, Field field, FieldType fieldType, Map<String, Object> values, String propertyName, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeI18nSolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable, Field field, FieldType fieldType, Map<String, Object> values, String propertyName, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable, Field field, FieldType fieldType, Map<String, Object> values, String propertyName, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Given the input field, populates the values array with the fields needed for the passed in field.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.attachAdditionalBasicFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document, SolrHelperService shs) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.attachAdditionalBasicFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document, SolrHelperService shs) Allows the extension additional fields to the document that are not configured via the DB.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.attachAdditionalDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.attachAdditionalDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) protected voidSolrIndexServiceImpl.attachAdditionalDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) Implementors can extend this and override this method to add additional fields to the Solr document.protected voidSolrIndexServiceImpl.attachBasicDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.attachChildDocuments(Indexable indexable, org.apache.solr.common.SolrInputDocument document, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.attachChildDocuments(Indexable indexable, org.apache.solr.common.SolrInputDocument document, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) This extension point allows other modules to contribute child documents to this document.voidSolrIndexService.attachIndexableDocumentFields(org.apache.solr.common.SolrInputDocument document, Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Iterates through the fields for this Indexable and indexes any IndexFieldsvoidSolrIndexServiceImpl.attachIndexableDocumentFields(org.apache.solr.common.SolrInputDocument document, Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentSolrIndexService.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Given a product, fields that relate to that product, and a list of locales and pricelists, builds a SolrInputDocument to be added to the Solr index.org.apache.solr.common.SolrInputDocumentSolrIndexServiceImpl.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.getIndexableId(Indexable indexable, Long[] returnContainer) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.getIndexableId(Indexable indexable, Long[] returnContainer) In certain scenarios, the requested product id might not be the one that should be used in Solr.SolrIndexServiceImpl.getPropertyValues(Indexable indexedItem, Field field, FieldType fieldType, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Returns a map of prefix to value for the requested attributes.Method parameters in org.broadleafcommerce.core.search.service.solr.index with type arguments of type IndexableModifier and TypeMethodDescriptionCollection<org.apache.solr.common.SolrInputDocument>SolrIndexService.buildIncrementalIndex(String collection, List<? extends Indexable> indexables, org.apache.solr.client.solrj.SolrClient solrServer) Builds a set ofIndexables against the givenSolrServerCollection<org.apache.solr.common.SolrInputDocument>SolrIndexService.buildIncrementalIndex(List<? extends Indexable> indexables, org.apache.solr.client.solrj.SolrClient solrServer) Deprecated.UseSolrIndexService.buildIncrementalIndex(String, List, SolrClient)instead so that the collection that's being used can be customized otherwise the default collection will always be used.Collection<org.apache.solr.common.SolrInputDocument>SolrIndexServiceImpl.buildIncrementalIndex(String collection, List<? extends Indexable> indexables, org.apache.solr.client.solrj.SolrClient solrServer) Collection<org.apache.solr.common.SolrInputDocument>SolrIndexServiceImpl.buildIncrementalIndex(List<? extends Indexable> indexables, org.apache.solr.client.solrj.SolrClient solrServer) voidBuild a page fromSolrIndexOperation.readIndexables(int, Long)on theSolrIndexOperation.getSolrServerForIndexing().org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> products) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeI18nSolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> indexables) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> indexables) Perform actions to end a batch event, such as closing any Contexts that have been previously created.org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents, List<? extends Indexable> products, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents, List<? extends Indexable> items, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeAbstractSolrIndexServiceExtensionHandler.startBatchEvent(List<? extends Indexable> products) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeI18nSolrIndexServiceExtensionHandler.startBatchEvent(List<? extends Indexable> indexables) org.broadleafcommerce.common.extension.ExtensionResultStatusTypeSolrIndexServiceExtensionHandler.startBatchEvent(List<? extends Indexable> indexables) Perform actions at the start of a batch to improve performance of Solr search for the list of batch products. -
Uses of Indexable in org.broadleafcommerce.core.search.service.solr.indexer
Methods in org.broadleafcommerce.core.search.service.solr.indexer with parameters of type IndexableModifier and TypeMethodDescriptionprotected voidCatalogDocumentBuilderImpl.attachAdditionalDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) protected voidCatalogDocumentBuilderImpl.attachBasicDocumentFields(Indexable indexable, org.apache.solr.common.SolrInputDocument document) protected voidCatalogDocumentBuilderImpl.attachIndexableDocumentFields(org.apache.solr.common.SolrInputDocument document, Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentAbstractSolrIndexUpdateServiceImpl.buildDocument(Indexable indexable) org.apache.solr.common.SolrInputDocumentAbstractSolrIndexUpdateServiceImpl.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentCatalogDocumentBuilderImpl.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentCatalogSolrIndexUpdateCommandHandlerImpl.buildDocument(Indexable indexable) org.apache.solr.common.SolrInputDocumentCatalogSolrIndexUpdateCommandHandlerImpl.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentDocumentBuilder.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) org.apache.solr.common.SolrInputDocumentSolrIndexUpdateCommandHandler.buildDocument(Indexable indexable) Provides an interface for a caller to convert anIndexableinto aSolrInputDocument.org.apache.solr.common.SolrInputDocumentSolrIndexUpdateCommandHandler.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Provides an interface for a caller to convert anIndexableinto aSolrInputDocument.org.apache.solr.common.SolrInputDocumentSolrIndexUpdateService.buildDocument(Indexable indexable) Provides an interface for a caller to convert anIndexableinto aSolrInputDocument.org.apache.solr.common.SolrInputDocumentSolrIndexUpdateService.buildDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) Provides an interface for a caller to convert anIndexableinto aSolrInputDocument.CatalogDocumentBuilderImpl.getPropertyValues(Indexable indexedItem, Field field, FieldType fieldType, List<org.broadleafcommerce.common.locale.domain.Locale> locales) protected voidCatalogDocumentBuilderImpl.modifyDocument(Indexable indexable, List<IndexField> fields, List<org.broadleafcommerce.common.locale.domain.Locale> locales) This is a simple hook point to allow implementors to override and modify the documents after the default functionality has created them.