Hi
We are using Drools 3.0 in our project and facing some issues with the way it works.
We have lets say 3 rules in our drools file with different salience values and LHS (IF
criteria). When we run the rules for a fact, the Rules Engine first asserts all the 3
rules irrespective of the salience value. Once the assertion is done the Rules Engine runs
the appropriate rule according to salience.
Assuming that we had 10-20 rules in our drools file the Engine would have asserted all of
them for all the facts and then executed the appropriate rules. But this whole process
would consume a lot of processing time.
Could the Rule Engine take care of the salience feature while Asserting the Rules and stop
when evaluation of LHS (IF criteria) for a Rule is TRUE. This way it can save some CPU
cycles.
thanks
Naveen Gauba