public class SolrSearchExpressionProvider extends AbstractSolrSearchExpressionProvider implements SearchExpressionProvider
This is a Solr specific implementation of the search expression provider. This provider helps converting an XPath expression into a Solr specific expression by calling each of the expression providers configured for the given search profile.
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;SolrSearchDecodeMetaTokenExpressionProvider
; the value in this
control parameter can be treated as the bread crumb trail;SolrSearchExpressionValidator
.SolrSearchEncodeMetaTokenExpressionProvider
so that it
can be reused later to represent the current navigation state.Constructor and Description |
---|
SolrSearchExpressionProvider(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 SolrSearchExpressionProvider(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
SearchExpressionProvider.invoke(com.ibm.commerce.foundation.server.services.dataaccess.SelectionCriteria)