Business rules
You might come across situations wherein your customer who is running an e-store consisting of different types of products such as jewelry, electronic gazettes, and automotive products defines a business need which is flexible enough to cope with changes in the search results based on the search keyword.
For instance, imagine a customer's requirement wherein you need to add facets such as Brand, Model, Lens, Zoom, Flash, Dimension, Display, Battery, and Price, whenever the user searches for "Camera" keyword. So far the requirement is easy and can be achieved in a simpler way. Now, let us add some complexity in our requirement wherein facets such as Year, Make, Model, VIN, Mileage, and Price should get automatically added when the user searches for a keyword "Bike". Worried about how to overrule such a complex requirement? This is where business rules come into play. There is n-number of rule engines (both proprietary and open source) in the market such as Drools and JRules...