[jboss-jira] [JBoss JIRA] Created: (JBRULES-812) Indexing failing when more than 3 indexable constraints are specified

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Fri Apr 20 13:27:30 EDT 2007


Indexing failing when more than 3 indexable constraints are specified
---------------------------------------------------------------------

                 Key: JBRULES-812
                 URL: http://jira.jboss.com/jira/browse/JBRULES-812
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Reteoo
    Affects Versions: 3.1-m1
            Reporter: Edson Tirelli
         Assigned To: Edson Tirelli
             Fix For: 3.1-m2


Guys, repeating a query from someone who perhaps didn't write it that clearly (chinese):

If they try the following condition:
varclu : cluster(clusterid==v_cluster
_id, transitionid==v_transition, stateid==v_state,ruleid==v_rule_id, v_evtid : evtid, v_evttype : evttype, v_srcaddress : srcaddress, v_destaddress : destaddress, v_timestamp : timestamp, v_alertid : alertid)" .

It blows up with "There cannot be more than 3 indexes"
Which is due to QuadroupleBetaConstraints not dealing with that many indexes.

When he deletes one equality ,such as "ruleid==v_rule_id", and then add "eval(varclu.getRuleid()==v_rule_id)", it works - so it looks like a bug/limitation to the current approach. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list