public class SolrRESTSearchExpressionProvider extends AbstractSolrSearchExpressionProvider implements SearchExpressionProvider
This is a Solr specific implementation of the search expression provider for
use with RESTful services. This provider takes the parameter map and converts
into a Solr specific expression by calling each of the expression providers
configured for the given search profile defined in
wc-rest-search.xml
.
This provider performs the following high level steps in this given order:
SolrSearchProfileNameValidator
and stops immediately if none is
provided;SolrSearchIndexNameValidator
and stops immediately if invalid;SolrSearchWorkSpaceValidator
and set the information to let the
processor know;SolrSearchExpressionValidator
.Constructor and Description |
---|
SolrRESTSearchExpressionProvider(java.lang.String componentId)
Creates an instance of the search expression provider for a particular
component.
|
Modifier and Type | Method and Description |
---|---|
void |
invoke(SelectionCriteria selectionCriteria)
(non-Javadoc)
|
addControlParameterValue, getControlParameterValue, getControlParameterValues, removeControlParameterValue, resetControlParameter, setControlParameterValue
public SolrRESTSearchExpressionProvider(java.lang.String componentId)
componentId
- The target component.public void invoke(SelectionCriteria selectionCriteria) throws java.lang.RuntimeException
AbstractSolrSearchExpressionProvider
invoke
in interface SearchExpressionProvider
invoke
in class AbstractSolrSearchExpressionProvider
selectionCriteria
- Java representation of XPath expressionjava.lang.RuntimeException
AbstractSolrSearchExpressionProvider.invoke(com.ibm.commerce.foundation.server.services.dataaccess.SelectionCriteria)