Chris, nice things are working out for you! The current plan is to give the Neo4j language bindings a fair bit of upgrade and love after neo4j 1.2 is released (planned december), unless someone steps up and does some work before that ;)
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Nov 10, 2010 at 7:51 PM, Chris Diehl <di...@alumni.cmu.edu> wrote: > Peter, > > That does indeed help, thanks! We will look forward to the next version of > the Python bindings. For now, this should get us started. > Any ETA on the next revision? > > Thanks again, > > Chris > > Message: 1 >> Date: Tue, 9 Nov 2010 18:14:22 +0100 >> From: Peter Neubauer <peter.neuba...@neotechnology.com> >> Subject: Re: [Neo4j] neo4j.py issue reading index >> To: Neo4j user discussions <user@lists.neo4j.org> >> Message-ID: >> <aanlktikn3vz=uoujs=fkfyd2o--0z=rpf0+1qtu+8...@mail.gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Chris, >> now that Tobias is on site again, I got the code to work, it looks >> like this now: >> >> from __future__ import with_statement >> import neo4j >> >> graphdb = neo4j.GraphDatabase("neodb/test") >> with graphdb.transaction: >> addIdx = graphdb.index("address",create=True) >> n = graphdb.node(color="Red", widht=16, height=32) >> addIdx[n['color']] = n >> >> graphdb.shutdown() >> graphdb = neo4j.GraphDatabase("neodb/test") >> with graphdb.transaction: >> addIdx = graphdb.index("address",create=True) >> >> >> Two points: >> >> 1. Indexes are created lazily, so unless you actually add something to >> it it will not be created, thus not being available on the next >> opening of the db. >> >> 2. addIdx = graphdb.index("address",create=True) is broken, so >> omitting the create=True breaks things. Always use it, will be >> rectified upon overhaul of the python bindings. >> >> Does this help? >> >> Cheers, >> >> /peter neubauer >> >> GTalk:? ? ? neubauer.peter >> Skype? ? ?? peter.neubauer >> Phone? ? ?? +46 704 106975 >> LinkedIn?? http://www.linkedin.com/in/neubauer >> Twitter? ? ? http://twitter.com/peterneubauer >> >> http://www.neo4j.org? ? ? ? ? ? ?? - Your high performance graph database. >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >> >> > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user