com.ibm.commerce.catalog.facade.server.services.search.expression.solr

Class SolrSearchByFacetExpressionProvider

  • All Implemented Interfaces:
    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.
    • Constructor Detail

      • SolrSearchByFacetExpressionProvider

        public SolrSearchByFacetExpressionProvider(java.lang.String componentId)
        Creates an instance of the search expression provider for a particular component. This instance can be used and re-used for future search requests.
        Parameters:
        componentId - The target component.