ok Edson  fixed it in trunk, should be all cool in the next milestone.



On 4/18/07, 家华 黄 <[EMAIL PROTECTED]> wrote:

Dear sir,
      Hi,i'm a user in china.when i use drools to write the rule, there is
a error which is "There cannot be more than 3 indexes". i think it means i
can not put 4 equality with different variable in one condition
element,isn't it?
      The condition element of LHS of my rule is as follow:"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)" . When I delete one equality ,such as
"ruleid==v_rule_id", and then add "eval(varclu.getRuleid()==v_rule_id)",
it works.
      But if the constrain fields are in the not condition element, such
as "not(cluster_evttype(clusterid==v_cluster_id, transitionid==v_transition,
stateid==v_state,ruleid==v_rule_id))", what should I do?
      Hope for your letter.

Jiahua Huang
2007-04-17

------------------------------
抢注雅虎免费邮箱-3.5G容量,20M附件! <http://cn.mail.yahoo.com>


Reply via email to