public class SolrSearchIndexNameValidator extends AbstractSolrSearchExpressionProvider implements SearchExpressionProvider
This is a Solr specific implementation of the search expression validator for the search index name. This is done by:
_wcf.search.index
is passed in as part of the
expression;The resulting Solr index name will be added back into the SelectionCriteria object for other downstream processing.
Constructor and Description |
---|
SolrSearchIndexNameValidator(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 SolrSearchIndexNameValidator(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)