com.ibm.commerce.foundation.server.services.rest.search.postprocessor.solr

Class SolrRESTSearchCatalogEntryViewMerchandisingAssocQueryPostprocessor

  • All Implemented Interfaces:
    SearchQueryPostprocessor


    public class SolrRESTSearchCatalogEntryViewMerchandisingAssocQueryPostprocessor
    extends AbstractSolrSearchQueryPostprocessor
    implements SearchQueryPostprocessor
    This is a Solr specific implementation of the search query post-processor for adding Merchandising Assoc into the response. It expects that the source catalog entry has already been added to iSearchResponseObject by another search. A batch DB query is executed to get the associated Merchandising catalog entry id's of the source product. A batch solr query is executed to get the actual indexed associated catalog entries of the source catalog entry. The returned Merchandising Association will be added to the original response under CatalogEntryView object.