public class SolrRESTSearchByCustomExpressionProvider extends AbstractSolrSearchExpressionProvider implements SearchExpressionProvider
_wcf.search.mandatory.expr
, _wcf.search.expr
and
_wcf.search.filter.expr
. The resulting Solr expression will be
added back into the SelectionCriteria object for other downstream processing
using the _wcf.search.internal.mandatory.query
,
_wcf.search.internal.optional.query
and
_wcf.search.internal.filterquery
control parameter.Constructor and Description |
---|
SolrRESTSearchByCustomExpressionProvider(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 SolrRESTSearchByCustomExpressionProvider(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)