Salience is just one way to force the evaluation of a condition before others. In fact, using salience throughout is just a way of re-creating a sequence of plain old if statements using a rules engine.
I'm not going to waste my time and yours by elaborating on possible alternatives unless you come up with a detailed description of your rules, and how you run your rules engine: fact insertion, calls to fire, etc.
-W
I am not sure I understand that. What is the other option for this case. Why would simple rules not work for 20 K rules. Am I missing something. I cannot use database to store my rules. Drools also gives me salience which I need for my usecase.
On Thu, Jan 5, 2012 at 11:29 PM, laune [via Drools] <[hidden email]> wrote:
2012/1/6 Shweta1986 <[hidden email]>And my rules are very simple it is like if string comparison then set that's it..
This doesn't really warrant the use of a rule based system. If keeping this logic out of the application or an easy maintenance of these if-then's are your main goals, there are other ways. I've already hinted at this, with the idea of providing the information embedded in similar rules as data.
-W
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
http://drools.46999.n3.nabble.com/Large-number-of-rules-in-Drools-tp3630385p3637255.htmlIf you reply to this email, your message will be added to the discussion below:To start a new topic under Drools: User forum, email [hidden email]
To unsubscribe from Drools: User forum, click here.
NAML
View this message in context: Re: [rules-users] Large number of rules in Drools
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users