| 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.
|
| 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 |
|---|---|
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 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
|
protected Map<String,Object> |
SolrIndexServiceImpl.getPropertyValues(Product product,
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.
|
protected String |
SolrSearchServiceImpl.getSolrFieldKey(Field field,
ProductSearchCriteria searchCriteria)
This method will be used to map a field abbreviation to the appropriate solr index field to use.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2015. All Rights Reserved.