- All Implemented Interfaces:
- com.ibm.commerce.foundation.server.services.search.expression.SearchExpressionProvider
public class SolrSearchByFacetExpressionProvider
extends SolrRESTSearchByFacetExpressionProvider
This is a Solr specific implementation of the search expression provider for handling the search by facet request. It adds additional facets when provided through _wcf.search.facet and skips those facets defined in this exclude list, _wcf.search.exclude.facet. This provider helps converting an XPath expression into a Solr specific expression. The resulting Solr expression will be added back into the SelectionCriteria object (_wcf.search.internal.meta) and to be encoded into the meta string (_wcf.search.meta) later on. Note that the facet conditions should be passed in with a separator using SolrSearchServiceConstants.FACET_SEPERATOR.