Re: Database introspection

2009-08-19 Thread Alexander Burger
Hi Henrik, (class +WordCount +Entity) # (rel word (+Aux +Ref +Link) (article) NIL (+Aword)) # (rel article (+Ref +Link) NIL (+Article)) # (rel count (+Number)) (dbs ... (4 +WordCount +Similarity) # 6 --- This looks good. All '+WordCount' objects

Re: Database introspection

2009-08-19 Thread Henrik Sarvell
- Did you call 'pool' with '*Dbs'? - Are you sure you started with an empty database after you changed 'dbs'= ? Yes on both accounts, strange, I will do some isolated tests today, ie not use my normal import functions but instead simply insert some test data into an empty database and then see

Re: Database introspection

2009-08-19 Thread Alexander Burger
On Wed, Aug 19, 2009 at 10:08:03AM +0200, Henrik Sarvell wrote: Note that the tree root nodes (e.g. {2}) above are always created in file= #1. What exactly do you mean by this? There are external symbols in the DB which are neither entity objects nor btree nodes. They are not under the

Re: Database introspection

2009-08-19 Thread Henrik Sarvell
Ah sorry, didn't look hard enough at your example, OK seems like it works like it's supposed to for you. The objects end up in #2 like you want. I'll get back after stepping through my #6 and #12 and doing some basic inserts. If I still have problems I'll post a runnable file. Thanks for the

Re: Database introspection

2009-08-18 Thread Henrik Sarvell
Thanks for that, will try it out tonight! /Henrik On Tue, Aug 18, 2009 at 7:21 AM, Alexander Burgera...@software-lab.de wrot= e: Hi Henrik, I've just used dbs to split my database into several files which seems to be working but if I recall correctly the catch all will be file no 1 and

Re: Database introspection

2009-08-18 Thread Henrik Sarvell
I had messed up, I'm OK now, the list to dbs was not in the proper shape. Anyway no 1 is still growing big, what I've done here is to try and emulate the er file in the app demo. In that er file no non-ref/key relation is mapped anywhere in the call to dbs, why? I've just started stepping

Re: Database introspection

2009-08-18 Thread Henrik Sarvell
I almost forgot, I think I am seeing +Aux relations in no 1 too, fairly long lists of dotted pairs smells like it. I suppose my dbs example in the prior post won't take care of them properly, ie putting them in their own files? /Henrik On Tue, Aug 18, 2009 at 8:49 PM, Henrik

Re: Database introspection

2009-08-17 Thread Alexander Burger
Hi Henrik, I've just used dbs to split my database into several files which seems to be working but if I recall correctly the catch all will be file no 1 and it's growing out of proportion very rapidly when I import my data. Out of proportion with regards to what I believe should be in it