| Package | Description |
|---|---|
| org.broadleafcommerce.core.search.domain | |
| org.broadleafcommerce.core.search.service | |
| org.broadleafcommerce.core.search.service.solr |
| Modifier and Type | Field and Description |
|---|---|
protected List<SearchFacetDTO> |
ProductSearchResult.facets |
| Modifier and Type | Method and Description |
|---|---|
List<SearchFacetDTO> |
ProductSearchResult.getFacets() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductSearchResult.setFacets(List<SearchFacetDTO> facets) |
| Modifier and Type | Method and Description |
|---|---|
protected List<SearchFacetDTO> |
DatabaseSearchServiceImpl.buildSearchFacetDtos(List<SearchFacet> categoryFacets)
Create the wrapper DTO around the SearchFacet
|
List<SearchFacetDTO> |
SearchService.getCategoryFacets(Category category)
Gets all available facets for a given category
|
List<SearchFacetDTO> |
DatabaseSearchServiceImpl.getCategoryFacets(Category category) |
List<SearchFacetDTO> |
SearchService.getSearchFacets()
Gets all available facets for search results page
|
List<SearchFacetDTO> |
DatabaseSearchServiceImpl.getSearchFacets() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DatabaseSearchServiceImpl.setActiveFacets(List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria) |
| Modifier and Type | Method and Description |
|---|---|
protected List<SearchFacetDTO> |
SolrSearchServiceImpl.buildSearchFacetDTOs(List<SearchFacet> searchFacets)
Create the wrapper DTO around the SearchFacet
|
List<SearchFacetDTO> |
SolrSearchServiceImpl.getCategoryFacets(Category category) |
protected Map<String,SearchFacetDTO> |
SolrSearchServiceImpl.getNamedFacetMap(List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria) |
List<SearchFacetDTO> |
SolrSearchServiceImpl.getSearchFacets() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.filterSearchFacetRanges(SearchFacetDTO dto,
List<SearchFacetRange> ranges) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.filterSearchFacetRanges(SearchFacetDTO dto,
List<SearchFacetRange> ranges)
Builds the search facet ranges for the provided dto.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SolrSearchServiceImpl.attachActiveFacetFilters(org.apache.solr.client.solrj.SolrQuery query,
Map<String,SearchFacetDTO> namedFacetMap,
ProductSearchCriteria searchCriteria)
Restricts the query by adding active facet filters.
|
protected void |
SolrSearchServiceImpl.attachFacets(org.apache.solr.client.solrj.SolrQuery query,
Map<String,SearchFacetDTO> namedFacetMap)
Notifies solr about which facets you want it to determine results and counts for
|
protected ProductSearchResult |
SolrSearchServiceImpl.findProducts(String qualifiedSolrQuery,
List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria,
String defaultSort)
Deprecated.
in favor of the other findProducts() method
|
protected ProductSearchResult |
SolrSearchServiceImpl.findProducts(String qualifiedSolrQuery,
List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria,
String defaultSort,
String... filterQueries)
Given a qualified solr query string (such as "category:2002"), actually performs a solr search.
|
protected Map<String,SearchFacetDTO> |
SolrSearchServiceImpl.getNamedFacetMap(List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria) |
protected void |
SolrSearchServiceImpl.modifySolrQuery(org.apache.solr.client.solrj.SolrQuery query,
String qualifiedSolrQuery,
List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria,
String defaultSort)
Provides a hook point for implementations to modify all SolrQueries before they're executed.
|
ExtensionResultStatusType |
AbstractSolrSearchServiceExtensionHandler.modifySolrQuery(org.apache.solr.client.solrj.SolrQuery query,
String qualifiedSolrQuery,
List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria,
String defaultSort) |
ExtensionResultStatusType |
SolrSearchServiceExtensionHandler.modifySolrQuery(org.apache.solr.client.solrj.SolrQuery query,
String qualifiedSolrQuery,
List<SearchFacetDTO> facets,
ProductSearchCriteria searchCriteria,
String defaultSort)
Provides an extension point to modify the SolrQuery.
|
protected void |
SolrSearchServiceImpl.setFacetResults(Map<String,SearchFacetDTO> namedFacetMap,
org.apache.solr.client.solrj.response.QueryResponse response)
Builds out the DTOs for facet results from the search.
|
protected void |
SolrSearchServiceImpl.sortFacetResults(Map<String,SearchFacetDTO> namedFacetMap)
Invoked to sort the facet results.
|
Copyright © 2015. All Rights Reserved.