If you can insert one fact, you can insert many facts: just write a loop getting the objects and calling session.insert(.).
Other decisions depend on the structure of your rule base, and what needs to be done with the facts: can they be processed one by one or do they all have to be together in Working Memory, e.g., to find matching pairs, conflicting groups,... -W On 11/03/2014, Mercier Jonathan <[email protected]> wrote: > On 11/03/2014, Raja Sekhar <[email protected]> wrote: >> Hi >> Is it a good approach to apply rules on large data-sets ranging 100,000 >> to >> 50 million records Of course it depends upon the logic written in the >> rule >> conditions and consequences. > Wolfgang you say: > > Yes, it depends. And on what the consequences do. And on how you > insert and call fireAllRules(). > > > I am interested by a little example how to insert large data set and > call them efficiently. > > Regards > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
