Re: [Neo4j] Pattern Matching Library

2011-05-24 Thread noppanit
Hi, This is my maven org.neo4j neo4j 1.4.M02 geronimo-jta_1.1_spec org.apache.geronimo.specs But I think I still cannot find PatternNode. Can I check

Re: [Neo4j] Embedded with webadmin

2011-05-24 Thread Adriano Henrique de Almeida
Yep, the neo4jserver is just a rest api over neo4j database, so it's still stored in at the disk. So, all you need to do, is to point your java application to the neo4j db directory. Remember, that you'll be unable to start both you app and the neo4j server at the same time, at the same database.

[Neo4j] Embedded with webadmin

2011-05-24 Thread Chris Baranowski
Hi all, I searched this mailing list some but couldn't find a definitive answer: is it possible to use the web admin with an embedded neo4j database? I'd like to run embedded in my project and also be able to administrate online. Thanks! Chris ___ Neo

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-05-24 Thread Peter Neubauer
Marco, pushed, https://github.com/neo4j/community/commit/e8574e96315999ab04e1b484717bb2b1a3dfa9be Would be great if you could verify that things are working better with this version. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedI

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-05-24 Thread Peter Neubauer
Mmh, it seems moving the LuceneIndexProvider into the public org.neo4j.index.lucene space would the problem, right? Running the tests right now with the moved class to make sure things are working ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 7

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
Aspect Oriented Programming[1] (AOP) lets you decorate classes and methods with extra behavior. Assuming that you're working with Neo4j in an embedded application, you'd use a library like AspectJ [2][3] to add "advice" to the Node.delete (actually the NodeImpl class) to perform your logic befo

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
El 5/24/2011 9:12 AM, Andreas Kollegger escribió: > Hi Jose, > > Perhaps the event framework[1] would suit your purpose. The > TransactionEventHandler [2] includes operations for intercepting a > transaction before it is committed. > > Otherwise, to intercept the Node.delete call itself, you'd ha

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Andreas Kollegger
Hi Jose, Perhaps the event framework[1] would suit your purpose. The TransactionEventHandler [2] includes operations for intercepting a transaction before it is committed. Otherwise, to intercept the Node.delete call itself, you'd have to look into using AOP. Cheers, Andreas [1] http://wiki

Re: [Neo4j] unresolved transactions when using indexes on neo4j 1.4.M02

2011-05-24 Thread Peter Neubauer
Patrick, I just ran this locally, you are right - this seems to be a non-clean shutdown leaving stuff hanging around. Going to check it out ASAP! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubaue

Re: [Neo4j] Some feedback about the installation on Ubuntu 10.04.2 (LTS)

2011-05-24 Thread Peter Neubauer
Luis, mhh, testing with the server installation (just zipping it up), it seems that mostly the docs and the examples have these permissions. The distribution assemblies are setting these bits, see e.g. https://github.com/neo4j/packaging/blob/master/standalone/src/main/assemblies/community-unix-dist

[Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
how could include a function in the Node class I check if a node is being removed or not. for example, have an attribute in the class that implements a node when it is created, and when it is called the delete function to change the value attribute and thus can control whether to delete or not.

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Jose Angel Inda Herrera
El 24/05/11 04:17, Johan Svensson escribió: > Hi Jose, > > Does http://docs.neo4j.org/chunked/1.3/transactions-delete.html answer > your question? > > Regards, > Johan > > On Tue, May 24, 2011 at 4:34 AM, Jose Angel Inda Herrera > wrote: >> hello list, >> I wonder when a node will be removed in a

[Neo4j] unresolved transactions when using indexes on neo4j 1.4.M02

2011-05-24 Thread Patrick Wagstrom
Hi there, I've been playing around with neo4j 1.4.M02 and have come upon an interesting problem related to indexes relative to 1.4.M01. Under 1.4.M01 the following code always works cleanly: import org.neo4j.graphdb.*; import org.neo4j.kernel.EmbeddedGraphDatabase; import org.neo4j.graphdb.index.

[Neo4j] Neo4j.py status and contribution

2011-05-24 Thread Aaron Moffatt
Is there means to contribute to neo4j.py? It sounded from some trac tickets as though it's in the process of being rewritten, but I gathered the dev is... busy :) It'd be nice to see the python bindings keeping up with those for Ruby. I'd like to contribute and help, though I'm new to chipping in

Re: [Neo4j] high IO waits on concurrent access to neo4j

2011-05-24 Thread Peter Neubauer
Vincent, nice to see things are improving! Yes, if you can't hold the data in RAM, you are down to IO, which improves a lot with SSDs. Also, there will be some nice cache optimizations coming into the next milestone that might be interesting to your usecase - shaving off cache size and improving t

Re: [Neo4j] NEO4J -Newbie Q - How best to query a typed object graph...

2011-05-24 Thread Michael Hunger
Paul, you have actually two (or more) options, as we did in Spring-Data-Graph (http://springsource.org/spring-data/neo4j) you can add your type to the node and create an index named like the type to which you add your nodes. So you can find nodes by type and (custom) id. To be able to find all

Re: [Neo4j] question about remove and iterate in same transaction

2011-05-24 Thread Johan Svensson
Hi Jose, Does http://docs.neo4j.org/chunked/1.3/transactions-delete.html answer your question? Regards, Johan On Tue, May 24, 2011 at 4:34 AM, Jose Angel Inda Herrera wrote: > hello list, > I wonder when a node will be removed in a transaction, since I have a > transaction in which I delete a n

[Neo4j] NEO4J -Newbie Q - How best to query a typed object graph...

2011-05-24 Thread Paul Bandler
> Folks, > > I’m trying to use Neo4J to implement a typed object model of enterprise data > loaded from an RDB. I’m a little unclear how best to go about building > ‘queries’ to retrieve certain node ‘types’ but with ‘where’ clauses that > reference properties of related nodes of other types

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-05-24 Thread Mattias Persson
Cool, we should make the lucene index component more OSGi friendly... this seems like an easy enough fix. Thank you 2011/5/24 Marco Gerber > Hi Mattias > > I solved the problem after having a look on the neo4j source code. The code > uses java services to load any extensions on runtime. One of t

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-24 Thread Jean-Pierre Bergamin
Peter, The classes that Martin Hunger listed are the offending ones. Best regards, Jean-Pierre 2011/5/23 Peter Neubauer : > Jean-Pierre, > do you know which classes exactly are the offending ones in neo4j *impl? > Would like to know in order to either avoid suing them or move them into the > AP