更新流口水的规则

发布于 2025-02-06 19:40:39 字数 151 浏览 2 评论 0 原文

我正在构建一个系统,其中规则经常更新。

默认情况下,规则将保存在数据库中。当

我理解时,创建会话时,流口水会成为树。

  1. 是否可以在不重新创建会话的情况下更新现有规则?
  2. 如果我更新规则,流口水会重新索引吗?

I am building a system where rules are updated very frequently.

By default the rules will be saved in a database. When

As far I understand, drools makes a sort of a tree when session is created.

  1. Is it possible to update an existing rule without re-creating the session?
  2. If I update the rule, will drools do a sort of re-indexing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ヤ经典坏疍 2025-02-13 19:40:39

我在Drools QA论坛上问了同样的问题。这是我从Toshiya Kobayashi那里得到的答案。

Hi @Ankush Choubey

Is it possible to update an existing rule without re-creating the session?
Yes, KieScanner works for that. Please refer to this section.

https://docs.drools.org/7.71.0.Final/drools-docs/html_single/index.html#_kiescanner

If I update the rule, will drools do a sort of re-indexing?
What do you mean by "re-indexing"? Underlying KieBase is updated with the change.

I asked the same question on Drools QA forum. Here is the answer I got from Toshiya Kobayashi.

Hi @Ankush Choubey

Is it possible to update an existing rule without re-creating the session?
Yes, KieScanner works for that. Please refer to this section.

https://docs.drools.org/7.71.0.Final/drools-docs/html_single/index.html#_kiescanner

If I update the rule, will drools do a sort of re-indexing?
What do you mean by "re-indexing"? Underlying KieBase is updated with the change.

https://kie.zulipchat.com/#narrow/stream/232677-drools/topic/Updating.20existing.20rules.20in.20Drools/near/285909960

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文