Re: [elephant-devel] Major elephant upgrade

2008-03-11 Thread Robert L. Read
On Tue, 2008-03-11 at 14:41 -0400, [EMAIL PROTECTED] wrote: > Hi Ian, > > Thanks. I just downloaded the latest darcs and will look at it. I've > been evaluating different querying to propose a syntax. > > BTW, in the darcs I downloaded 10 minutes ago, I ran the tests and got: > > Did 421 che

Re: [elephant-devel] Major elephant upgrade

2008-03-11 Thread [EMAIL PROTECTED]
Hi Ian, Thanks. I just downloaded the latest darcs and will look at it. I've been evaluating different querying to propose a syntax. BTW, in the darcs I downloaded 10 minutes ago, I ran the tests and got: Did 421 checks. Pass: 420 (99%) Skip: 0 ( 0%) Fail: 1 ( 0%) Failure Deta

Re: [elephant-devel] Major elephant upgrade

2008-03-11 Thread Ian Eslick
Daniel, I just promoted a simple sketch of a query interpreter and syntax on the unstable branch that handles queries like: (query-select #'(lambda (person school) (format t "Person named: ~A at ~A~%" (name person) (name school))) '(select ((?p person) (?s school))

Re: [elephant-devel] class indexing txn problems

2008-03-11 Thread Henrik Hjelte
> Henrik, want to add a ticket if no one decides to do this in the near > term? Sure /Henrik ___ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel

Re: [elephant-devel] class indexing txn problems

2008-03-11 Thread Ian Eslick
I did this earlier with an asynchronous threaded dataflow package I wrote on top of elephant and it worked great. For the internal problem that Alex outlines, it just shouldn't happen and I know how to work around it. However, it would be good to have a general extension allowing users to

Re: [elephant-devel] class indexing txn problems

2008-03-11 Thread Henrik Hjelte
On Tue, Mar 11, 2008 at 11:18 AM, Alex Mizrahi <[EMAIL PROTECTED]> wrote: > find-inverted-index does two things: creates DB object representing index > and caches it. > then transaction is aborted -- all DB changes are effectively wiped. > but we still have references to DB object in %index-ca

Re: [elephant-devel] class indexing txn problems

2008-03-11 Thread Ian Eslick
Good catch. I'll see if there is a clean way to avoid these kinds of errors in the new version of class indexing I'm wrapping up. Ian On Mar 11, 2008, at 6:18 AM, Alex Mizrahi wrote: suppose following scenario: 1. with store closed (i'm not sure that's essential), we create new class defi

[elephant-devel] class indexing txn problems

2008-03-11 Thread Alex Mizrahi
suppose following scenario: 1. with store closed (i'm not sure that's essential), we create new class definition with persistent slot: (defclass tsst (persistent-object) ((i :index t)) (:metaclass persistent-metaclass)) 2. (open-store *spec*) 3. (with-transaction () (find-inverted-ind