| Package | Description |
|---|---|
| org.broadleafcommerce.core.search.dao | |
| org.broadleafcommerce.core.search.domain | |
| org.broadleafcommerce.core.search.service.solr |
| Modifier and Type | Method and Description |
|---|---|
Field |
FieldDaoImpl.readFieldByAbbreviation(String abbreviation) |
Field |
FieldDao.readFieldByAbbreviation(String abbreviation)
Given an abbreviation, returns the Field object that maps to this abbreviation.
|
Field |
FieldDaoImpl.save(Field field) |
Field |
FieldDao.save(Field field)
Persist an instance to the data layer.
|
| Modifier and Type | Method and Description |
|---|---|
List<Field> |
FieldDaoImpl.readAllProductFields() |
List<Field> |
FieldDao.readAllProductFields()
Reads all Field objects that are set to searchable.
|
List<Field> |
FieldDaoImpl.readAllSkuFields() |
List<Field> |
FieldDao.readAllSkuFields()
Reads all Field objects that are set to searchable.
|
List<Field> |
FieldDaoImpl.readFieldsByEntityType(FieldEntity entityType) |
List<Field> |
FieldDao.readFieldsByEntityType(FieldEntity entityType)
Finds all fields based on the entity type.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
FieldDaoImpl.save(Field field) |
Field |
FieldDao.save(Field field)
Persist an instance to the data layer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FieldImpl |
| Modifier and Type | Field and Description |
|---|---|
protected Field |
SearchFacetImpl.field |
| Modifier and Type | Method and Description |
|---|---|
<G extends Field> |
FieldImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
| Modifier and Type | Method and Description |
|---|---|
Field |
SearchFacet.getField()
Returns the field associated with this facet.
|
Field |
SearchFacetImpl.getField() |
| Modifier and Type | Method and Description |
|---|---|
void |
SearchFacet.setField(Field field)
Sets the field associated with this facet.
|
void |
SearchFacetImpl.setField(Field field) |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.addPropertyValues(Product product,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.addPropertyValues(Product product,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.addPropertyValues(Product product,
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.
|
protected ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.addPropertyValues(Product product,
Sku sku,
boolean useSku,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.addPropertyValues(Sku sku,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.addPropertyValues(Sku sku,
Field field,
FieldType fieldType,
Map<String,Object> values,
String propertyName,
List<Locale> locales) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.addPropertyValues(Sku sku,
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.
|
protected void |
SolrSearchServiceImpl.appendFieldToQuery(StringBuilder queryBuilder,
Field currentField) |
ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.buildPrefixListForSearchableFacet(Field field,
List<String> prefixList) |
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.buildPrefixListForSearchableFacet(Field field,
List<String> prefixList) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.buildPrefixListForSearchableFacet(Field field,
List<String> prefixList)
Returns a prefix if required for the passed in facet.
|
ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.buildPrefixListForSearchableField(Field field,
FieldType searchableFieldType,
List<String> prefixList) |
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.buildPrefixListForSearchableField(Field field,
FieldType searchableFieldType,
List<String> prefixList) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.buildPrefixListForSearchableField(Field field,
FieldType searchableFieldType,
List<String> prefixList)
Returns a prefix if required for the passed in searchable field.
|
protected ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.getLocalePrefix(Field field,
List<String> prefixList)
If the field is translatable, take the current locale and add that as a prefix.
|
String |
SolrHelperServiceImpl.getPropertyNameForFieldFacet(Field field) |
String |
SolrHelperService.getPropertyNameForFieldFacet(Field field)
Returns the property name for the given field and its configured facet field type.
|
String |
SolrHelperServiceImpl.getPropertyNameForFieldFacet(Field field,
String prefix) |
String |
SolrHelperService.getPropertyNameForFieldFacet(Field field,
String prefix)
Returns the property name for the given field, its configured facet field type, and the given prefix
|
String |
SolrHelperServiceImpl.getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType) |
String |
SolrHelperService.getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType)
Returns the property name for the given field and field type.
|
String |
SolrHelperServiceImpl.getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType,
String prefix) |
String |
SolrHelperService.getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType,
String prefix)
Returns the property name for the given field, field type, and prefix
|
Object |
SolrHelperServiceImpl.getPropertyValue(Object object,
Field field) |
Object |
SolrHelperService.getPropertyValue(Object object,
Field field)
See getPropertyValue(Object, String)
|
protected Map<String,Object> |
SolrIndexServiceImpl.getPropertyValues(Object indexedItem,
Field field,
FieldType fieldType,
List<Locale> locales)
Returns a map of prefix to value for the requested attributes.
|
List<FieldType> |
SolrHelperServiceImpl.getSearchableFieldTypes(Field field) |
List<FieldType> |
SolrHelperService.getSearchableFieldTypes(Field field)
Returns the searchable field types for the given field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolrHelperServiceImpl.attachSortClause(org.apache.solr.client.solrj.SolrQuery query,
SearchCriteria searchCriteria,
String defaultSort,
List<Field> fields) |
void |
SolrHelperService.attachSortClause(org.apache.solr.client.solrj.SolrQuery query,
SearchCriteria searchCriteria,
String defaultSort,
List<Field> fields)
Sets up the sorting criteria.
|
org.apache.solr.common.SolrInputDocument |
SolrIndexServiceImpl.buildDocument(Product product,
List<Field> fields,
List<Locale> locales) |
org.apache.solr.common.SolrInputDocument |
SolrIndexService.buildDocument(Product product,
List<Field> 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.
|
org.apache.solr.common.SolrInputDocument |
SolrIndexServiceImpl.buildDocument(Sku sku,
List<Field> fields,
List<Locale> locales) |
org.apache.solr.common.SolrInputDocument |
SolrIndexService.buildDocument(Sku sku,
List<Field> fields,
List<Locale> locales)
Given a sku, fields that relate to that sku, and a list of locales and pricelists, builds a
SolrInputDocument to be added to the Solr index.
|
Map<String,String> |
SolrHelperServiceImpl.getSolrFieldKeyMap(SearchCriteria searchCriteria,
List<Field> fields) |
Map<String,String> |
SolrHelperService.getSolrFieldKeyMap(SearchCriteria searchCriteria,
List<Field> fields)
Builds a map of the fields with the abbreviation
|
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<Product> products,
List<Field> fields,
List<Locale> locales) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<Product> products,
List<Field> fields,
List<Locale> locales) |
Copyright © 2017. All rights reserved.