Creating Powerful Solr Filters Using MVEL Expressions

From DZone Java Zone
March 17, 2017 - 3:01am
Recently I was working on a project where the goal was to figure out a way to filter search results based on a dynamic set of rules. We were working within Broadleaf, which uses MVEL for its rule builders and Solr for its search engine. The purpose of this project was to limit the parts of a catalog that a segment of customers should be allowed to browse. One of the most interesting parts of working on this project was the concept of taking MVEL rules and converting them into Solr filters. This type of pattern is powerful for two reasons:

Continue reading this article »