public class SolrRESTSearchByKeywordRelevancyExpressionProvider extends SolrRESTSearchByKeywordExpressionProvider
Constructor and Description |
---|
SolrRESTSearchByKeywordRelevancyExpressionProvider(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)
|
protected java.lang.String | queryStringToMatchAllTerms(java.lang.String astrSearchPhrase, java.util.Locale locale)
Returns a query to match all search terms entered by the shopper.
|
protected java.lang.String | queryStringToMatchAnyTerm(java.lang.String astrSearchPhrase, java.util.Locale locale)
Returns a query to match any of the terms entered by the shopper.
|
public SolrRESTSearchByKeywordRelevancyExpressionProvider(java.lang.String componentId)
public void invoke(SelectionCriteria selectionCriteria) throws java.lang.RuntimeException
protected java.lang.String queryStringToMatchAllTerms(java.lang.String astrSearchPhrase, java.util.Locale locale)
protected java.lang.String queryStringToMatchAnyTerm(java.lang.String astrSearchPhrase, java.util.Locale locale)