Re: [rules-users] Unable to parse rule to show RETE view error

2008-10-15 Thread Mark Proctor
could be a bug, we'll double check this for M3. Mark drools newbie wrote: Hello, I'm having the same problem as given in below link and tried same solution. but no luck. I'm using drools 5.0. MR2 in eclipse 3.4.0. Please help. http://lists.jboss.org/pipermail/rules-users/2008-June/005974.html T

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Mark Proctor
Senlin Liang wrote: My test query is result(Index, PaperName, Author, Year, Month) :- paper(Index, name, PaperName), paper(Index, author, Author), paper(Index, year, Year), paper(Index, month, Month). So drools builds alpha-hashing on the 2nd argument, and name-hashing on the 1s

[rules-users] Unable to parse rule to show RETE view error

2008-10-15 Thread drools newbie
Hello, I'm having the same problem as given in below link and tried same solution. but no luck. I'm using drools 5.0. MR2 in eclipse 3.4.0. Please help. http://lists.jboss.org/pipermail/rules-users/2008-June/005974.html Thank You! -- View this message in context: http://www.nabble.com/Unable-to

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
My test query is result(Index, PaperName, Author, Year, Month) :- paper(Index, name, PaperName), paper(Index, author, Author), paper(Index, year, Year), paper(Index, month, Month). So drools builds alpha-hashing on the 2nd argument, and name-hashing on the 1st argument. Drools pe

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Mark Proctor
Senlin Liang wrote: Thanks Mark! I got another question: what kind of indexing is used in drools? what field does it index? It wil index the field used in the constraint Person( name == "mark" ) Person( name == $var ) Both of those pattners will be indexed no the name field, the first is w

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
Thanks Mark! I got another question: what kind of indexing is used in drools? what field does it index? I checked the online manual, it seems that I uses hashing index, but i am not sure the details. The reason that I am asking this question is that: drools runs really faster for one of my progr

Re: [rules-users] Drools indexing

2008-10-15 Thread Mark Proctor
Senlin Liang wrote: Hi all, I got one question: How does drools index the objects in memory? Does it use hashing index, based on what? Or drools uses adaptive indexing? simple hashing of the field values. Thanks a lot, Senlin ___ rules-users maili

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Mark Proctor
Senlin Liang wrote: One more question: does drools index intermediate results (such as the inserted objects in actions)? Any inserted object used in == constraints is indexed for that constraint. Is there any cost-based optimization for queries? no Thanks On Wed, Oct 15, 2008 at 9:10 A

Re: [rules-users] RHS start ruleflow not executing associated rules

2008-10-15 Thread djouki
As you suggested, I ran the faulty process directly. The error was based in part a misinterpretation of the AND split functionality. It was flowing through unmatching rules and terminating the process before other rules had completed. Resolved it with AND join. Kris Verlaenen wrote: > >> At

[rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
One more question: does drools index intermediate results (such as the inserted objects in actions)? Is there any cost-based optimization for queries? Thanks On Wed, Oct 15, 2008 at 9:10 AM, Senlin Liang <[EMAIL PROTECTED]> wrote: > Hi all, > > I got one question: How does drools index the objec

[rules-users] Drools indexing

2008-10-15 Thread Senlin Liang
Hi all, I got one question: How does drools index the objects in memory? Does it use hashing index, based on what? Or drools uses adaptive indexing? Thanks a lot, Senlin ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/ma