]
Mark Proctor updated JBRULES-1101:
----------------------------------
Fix Version/s: 4.0.1
MVEL direct property accessors being converted to a
ReturnValueConstraint
-------------------------------------------------------------------------
Key: JBRULES-1101
URL:
http://jira.jboss.com/jira/browse/JBRULES-1101
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.0.GA
Reporter: Yuri de Wit
Assigned To: Edson Tirelli
Fix For: 4.0.1
After narrowing down a performance issue with my drools app, I reached to the dev team
and quickly it became clear that for some reason drools was not indexing my field
constraints. After some investigation and some help from Conan it became clear that one
of the problem was that MVEL direct property accessors were being translated into a
ReturnValueConstraint (afaik, an eval), which cannot be indexed by default.
So I changed my rules to make sure that i used aliaes for the first 3 constrraints
instead of property accessors and I was able to see trememdous perf improvements for my
usecases.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: