[rules-users] Problem when I cleaning the production memory.

braveheart85 andrea.pacifico.85 at gmail.com
Tue Jul 15 09:29:30 EDT 2014


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.


More information about the rules-users mailing list