My users can apply a filter (query in Drools) and the result facts are tagged to be shown. Filters can be from a filter library or also directly written by users. I need to clear the production memory and set new knowledge (filter) each time in order to get filter result.
First solution you propose is a bit problematic for me because i'd have to reinsert all facts inside the working memory but I don't keep these objects outside Drools. In my context facts are fixed while rules/queries are variables. I'd have to query Drools for all facts, then instantiate a new KnowledgeBase and finally reinsert all facts... What do you think? Thanks Andrea -- View this message in context: http://drools.46999.n3.nabble.com/Problem-when-I-cleaning-the-production-memory-tp4030341p4030361.html 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