Class SolrSearchExpressionValidator

  • All Implemented Interfaces:

    public class SolrSearchExpressionValidator
    extends AbstractSolrSearchExpressionProvider
    implements SearchExpressionProvider
    This is a Solr specific implementation of the search expression validator:
    • ensure the query expression is not empty;
    • if so, generate a default all inclusive condition (*:*).
    • ensure all special characters are escaped properly before passing down to the search engine.