| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
IndexFieldCustomPersistenceHandlerExtensionHandler.addtoSearchableFields(org.broadleafcommerce.openadmin.dto.PersistencePackage persistencePackage,
IndexField searchField) |
protected org.broadleafcommerce.openadmin.dto.PersistencePackage |
IndexFieldCustomPersistenceHandler.createPersistencePackage(IndexField searchField,
FieldType fieldType) |
protected org.broadleafcommerce.openadmin.dto.Entity |
IndexFieldCustomPersistenceHandler.getEntity(org.broadleafcommerce.openadmin.dto.PersistencePackage persistencePackage,
org.broadleafcommerce.openadmin.server.dao.DynamicEntityDao dynamicEntityDao,
org.broadleafcommerce.openadmin.server.service.persistence.module.RecordHelper helper,
org.broadleafcommerce.openadmin.dto.Entity entity,
Map<String,org.broadleafcommerce.openadmin.dto.FieldMetadata> adminProperties,
IndexField adminInstance) |
| Modifier and Type | Method and Description |
|---|---|
IndexField |
IndexFieldDaoImpl.readIndexFieldForField(Field field) |
IndexField |
IndexFieldDao.readIndexFieldForField(Field field)
Returns the SearchField instance associated with the given field parameter, or null if non exists.
|
| Modifier and Type | Method and Description |
|---|---|
List<IndexField> |
IndexFieldDaoImpl.readFieldsByEntityType(FieldEntity entityType) |
List<IndexField> |
IndexFieldDao.readFieldsByEntityType(FieldEntity entityType)
Finds all of the
IndexFields based on the entity type. |
List<IndexField> |
IndexFieldDaoImpl.readSearchableFieldsByEntityType(FieldEntity entityType) |
List<IndexField> |
IndexFieldDao.readSearchableFieldsByEntityType(FieldEntity entityType)
Reads all of the
IndexFields that are searchable on the entity type |
| Modifier and Type | Class and Description |
|---|---|
class |
IndexFieldImpl |
| Modifier and Type | Field and Description |
|---|---|
protected IndexField |
IndexFieldTypeImpl.indexField |
| Modifier and Type | Method and Description |
|---|---|
<G extends IndexField> |
IndexFieldImpl.createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
| Modifier and Type | Method and Description |
|---|---|
IndexField |
IndexFieldType.getIndexField() |
IndexField |
IndexFieldTypeImpl.getIndexField() |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexFieldType.setIndexField(IndexField indexField) |
void |
IndexFieldTypeImpl.setIndexField(IndexField indexField) |
| Modifier and Type | Method and Description |
|---|---|
List<IndexField> |
SolrHelperServiceImpl.getSearchableIndexFields() |
List<IndexField> |
SolrHelperService.getSearchableIndexFields() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
I18nSolrSearchServiceExtensionHandler.buildPrefixListForIndexField(IndexField field,
FieldType fieldType,
List<String> prefixList) |
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.buildPrefixListForIndexField(IndexField field,
FieldType fieldType,
List<String> prefixList) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.buildPrefixListForIndexField(IndexField field,
FieldType fieldType,
List<String> prefixList)
Returns a prefix if required for the passed in searchable field.
|
String |
SolrHelperServiceImpl.getPropertyNameForIndexField(IndexField field,
FieldType searchableFieldType) |
String |
SolrHelperService.getPropertyNameForIndexField(IndexField field,
FieldType fieldType)
Returns the property name for the given field and field type.
|
String |
SolrHelperServiceImpl.getPropertyNameForIndexField(IndexField field,
FieldType fieldType,
String prefix) |
String |
SolrHelperService.getPropertyNameForIndexField(IndexField field,
FieldType fieldType,
String prefix)
Returns the property name for the given field, field type, and prefix
|
protected void |
SolrSearchServiceImpl.getQueryFields(org.apache.solr.client.solrj.SolrQuery query,
List<String> queryFields,
IndexField indexField,
SearchCriteria searchCriteria)
This helper method gathers the query fields for the given field and stores them in the List parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.getSearchableIndexFields(List<IndexField> fields) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.getSearchableIndexFields(List<IndexField> fields)
Populated the List of searchable IndexField's that will be used in building the query fields (qf) for a Solr query.
|
Map<String,String> |
SolrHelperServiceImpl.getSolrFieldKeyMap(SearchCriteria searchCriteria,
List<IndexField> fields) |
Map<String,String> |
SolrHelperService.getSolrFieldKeyMap(SearchCriteria searchCriteria,
List<IndexField> fields) |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
AbstractSolrIndexServiceExtensionHandler.populateDocumentForIndexField(org.apache.solr.common.SolrInputDocument document,
IndexField field,
FieldType fieldType,
Map<String,Object> propertyValues) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.populateDocumentForIndexField(org.apache.solr.common.SolrInputDocument document,
IndexField field,
FieldType fieldType,
Map<String,Object> propertyValues)
This is used to populate any fields for the given parameters as well as adding any property names to the added properties list.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
AbstractSolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<? extends Indexable> products,
List<IndexField> fields,
List<Locale> locales) |
ExtensionResultStatusType |
SolrIndexServiceExtensionHandler.modifyBuiltDocuments(Collection<org.apache.solr.common.SolrInputDocument> documents,
List<? extends Indexable> items,
List<IndexField> fields,
List<Locale> locales) |
Copyright © 2017. All rights reserved.