Class SolrSearchByCatalogFilterExpressionProvider

  • All Implemented Interfaces:

    public class SolrSearchByCatalogFilterExpressionProvider
    extends AbstractSolrSearchExpressionProvider
    implements SearchExpressionProvider
    This is a Solr specific implementation of the search expression provider for handling the search by category request. This provider helps converting an XPath expression into a Solr specific expression. The resulting Solr expression will be added back into the SelectionCriteria object for other downstream processing using the control parameter.
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SolrSearchByCatalogFilterExpressionProvider

        public SolrSearchByCatalogFilterExpressionProvider(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.
        componentId - The target component.
    • Method Detail

      • invoke

        public void invoke(SelectionCriteria selectionCriteria)
                    throws java.lang.RuntimeException
        This method add the catalog filter 's search expression into control parameter.
        Specified by:
        invoke in interface SearchExpressionProvider
        invoke in class AbstractSolrSearchExpressionProvider
        selectionCriteria - Java representation of XPath expression
        See Also:
        .SearchExpressionProvider #invoke( .dataaccess.SelectionCriteria)