| Package | Description |
|---|---|
| org.broadleafcommerce.core.catalog.domain | |
| org.broadleafcommerce.core.search.service.solr | |
| org.broadleafcommerce.core.search.service.solr.index |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Product
Implementations of this interface are used to hold data for a Product.
|
interface |
ProductBundle
Deprecated.
instead, use the ProductType Module's Product Add-Ons to build and configure bundles
|
interface |
Sku
Implementations of this interface are used to hold data about a SKU.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProductBundleImpl
Deprecated.
instead, use the ProductType Module's Product Add-Ons to build and configure bundles
|
class |
ProductImpl
The Class ProductImpl is the default implementation of
Product. |
class |
SkuImpl
The Class SkuImpl is the default implementation of
Sku. |
| Modifier and Type | Method and Description |
|---|---|
Long |
SolrHelperService.getCurrentProductId(Indexable indexable) |
Long |
SolrHelperServiceImpl.getCurrentProductId(Indexable indexable) |
String |
SolrHelperService.getDocumentType(Indexable indexable)
Returns the type for the given Indexable.
|
String |
SolrHelperServiceImpl.getDocumentType(Indexable indexable) |
Long |
SolrHelperService.getIndexableId(Indexable indexable)
In certain cases, the sku id used for Solr indexing is different than the direct id on the sku.
|
Long |
SolrHelperServiceImpl.getIndexableId(Indexable indexable) |
Product |
SolrHelperService.getProductForIndexable(Indexable indexable) |
Product |
SolrHelperServiceImpl.getProductForIndexable(Indexable indexable) |
String |
SolrHelperService.getSolrDocumentId(org.apache.solr.common.SolrInputDocument document,
Indexable indexable) |
String |
SolrHelperServiceImpl.getSolrDocumentId(org.apache.solr.common.SolrInputDocument document,
Indexable indexable) |
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Indexable> |
SolrIndexServiceImpl.readAllActiveIndexables(int pageSize,
Long lastId) |
List<? extends Indexable> |
SolrIndexOperation.readIndexables(int pageSize,
Long lastId)
Perform the a read of the
Indexable items for a particular page and pageSize |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales)
Given the input field, populates the values array with the fields needed for the
passed in field.
|
ExtensionResultStatusType |
I18nSolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.addPropertyValues(Indexable indexable,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.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.
|
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.attachAdditionalBasicFields(Indexable indexable,
org.apache.solr.common.SolrInputDocument document,
SolrHelperService shs) |
protected void |
SolrIndexServiceImpl.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.
|
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.attachAdditionalDocumentFields(Indexable indexable,
org.apache.solr.common.SolrInputDocument document) |
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.attachAdditionalDocumentFields(Indexable indexable,
org.apache.solr.common.SolrInputDocument document) |
protected void |
SolrIndexServiceImpl.attachBasicDocumentFields(Indexable indexable,
org.apache.solr.common.SolrInputDocument document) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.attachChildDocuments(Indexable indexable,
org.apache.solr.common.SolrInputDocument document,
List<IndexField> fields,
List<Locale> locales)
This extension point allows other modules to contribute child documents to this document.
|
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.attachChildDocuments(Indexable indexable,
org.apache.solr.common.SolrInputDocument document,
List<IndexField> fields,
List<Locale> locales) |
void |
SolrIndexServiceImpl.attachIndexableDocumentFields(org.apache.solr.common.SolrInputDocument document,
Indexable indexable,
List<IndexField> fields,
List<Locale> locales) |
void |
SolrIndexService.attachIndexableDocumentFields(org.apache.solr.common.SolrInputDocument document,
Indexable indexable,
List<IndexField> fields,
List<Locale> locales)
Iterates through the fields for this indexable and indexes any SearchField's or SearchFacet's.
|
org.apache.solr.common.SolrInputDocument |
SolrIndexServiceImpl.buildDocument(Indexable indexable,
List<IndexField> fields,
List<Locale> locales) |
org.apache.solr.common.SolrInputDocument |
SolrIndexService.buildDocument(Indexable indexable,
List<IndexField> fields,
List<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.
|
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.getIndexableId(Indexable indexable,
Long[] returnContainer)
In certain scenarios, the requested product id might not be the one that should be used in Solr.
|
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.getIndexableId(Indexable indexable,
Long[] returnContainer) |
protected Map<String,Object> |
SolrIndexServiceImpl.getPropertyValues(Indexable indexedItem,
Field field,
FieldType fieldType,
List<Locale> locales)
Returns a map of prefix to value for the requested attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<org.apache.solr.common.SolrInputDocument> |
SolrIndexServiceImpl.buildIncrementalIndex(List<? extends Indexable> indexables,
org.apache.solr.client.solrj.SolrClient solrServer) |
Collection<org.apache.solr.common.SolrInputDocument> |
SolrIndexService.buildIncrementalIndex(List<? extends Indexable> indexables,
org.apache.solr.client.solrj.SolrClient solrServer)
Builds a set of
Indexables against the given SolrServer |
void |
SolrIndexOperation.buildPage(List<? extends Indexable> indexables)
Build a page from
SolrIndexOperation.readIndexables(int, Long) on the SolrIndexOperation.getSolrServerForIndexing(). |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> indexables)
Perform actions to end a batch event, such as closing any Contexts that have been previously created.
|
ExtensionResultStatusType |
I18nSolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> indexables) |
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.endBatchEvent(List<? extends Indexable> products) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<? extends Indexable> items,
List<IndexField> fields,
List<Locale> locales) |
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<? extends Indexable> products,
List<IndexField> fields,
List<Locale> locales) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.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.
|
ExtensionResultStatusType |
I18nSolrIndexServiceExtensionHandler.startBatchEvent(List<? extends Indexable> indexables) |
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.startBatchEvent(List<? extends Indexable> products) |
Copyright © 2021. All rights reserved.