|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SolrHelperService
| Method Summary | |
|---|---|
String |
getCategoryFieldName()
|
String |
getCategorySortFieldName(Category category)
|
String |
getCurrentNamespace()
Determines the current namespace we are operating on. |
Locale |
getDefaultLocale()
Returns the default locale. |
String |
getDefaultLocalePrefix()
|
String |
getExplicitCategoryFieldName()
|
String |
getGlobalFacetTagField()
This property is needed to be non-null to allow filtering by multiple facets at one time and have the results be an AND of the facets. |
String |
getIdFieldName()
|
String |
getLocalePrefix()
Determines if there is a locale prefix that needs to be applied to the given field for this particular request. |
String |
getNamespaceFieldName()
|
String |
getProductIdFieldName()
|
String |
getPropertyNameForFieldFacet(Field field)
Returns the property name for the given field and its configured facet field type. |
String |
getPropertyNameForFieldFacet(Field field,
String prefix)
Returns the property name for the given field, its configured facet field type, and the given prefix |
String |
getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType)
Returns the property name for the given field and field type. |
String |
getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType,
String prefix)
Returns the property name for the given field, field type, and prefix |
List<FieldType> |
getSearchableFieldTypes(Field field)
Returns the searchable field types for the given field. |
String |
getSolrDocumentId(org.apache.solr.common.SolrInputDocument document,
Product product)
|
void |
swapActiveCores()
Swaps the primary and reindex cores. |
| Method Detail |
|---|
void swapActiveCores()
throws ServiceException
ServiceExceptionString getCurrentNamespace()
String getGlobalFacetTagField()
String getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType,
String prefix)
field - searchableFieldType - prefix -
String getPropertyNameForFieldFacet(Field field,
String prefix)
field - prefix -
List<FieldType> getSearchableFieldTypes(Field field)
field -
String getPropertyNameForFieldSearchable(Field field,
FieldType searchableFieldType)
field - searchableFieldType -
String getPropertyNameForFieldFacet(Field field)
field -
String getSolrDocumentId(org.apache.solr.common.SolrInputDocument document,
Product product)
product -
String getNamespaceFieldName()
String getIdFieldName()
String getProductIdFieldName()
String getCategoryFieldName()
String getExplicitCategoryFieldName()
String getCategorySortFieldName(Category category)
category -
String getLocalePrefix()
String getDefaultLocalePrefix()
Locale getDefaultLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||