Re: [Neo4j] bdb-index

2011-07-31 Thread John cyuczieekc
Looking over these On Sat, Jul 30, 2011 at 1:42 PM, John cyuczieekc cyuczie...@gmail.comwrote: those got concatenated for some reason, I'll repost them here so I can see them Relatationship: To associated Node: RelId - NodeId From associated Node: NodeId - RelId RelationshipType: To

[Neo4j] Neo4j Disk Space

2011-07-31 Thread Ahmad Bakr
Hi, I have a question about optimizing the disk space required by Neo4j. Currently i have a Neo4j database contains 238796 nodes, 5418484 properties and 1328479 relationships, the disk space taked by Neo4j is about 17 GB and i think is too much. so is there any optimization can be considered to

Re: [Neo4j] Neo4j Disk Space

2011-07-31 Thread Michael Hunger
Could you explain the number, types and sizes of the properties (distribution)? Nodes take 9 bytes per node and rels 33 bytes on disk. Simple properties up to a long take up 25 bytes, strings that don't fit into the short-string compression and arrays take larger sizes in the stringstore and

Re: [Neo4j] Synchronization of EmbeddedReadOnlyGraphDatabase - Bug?

2011-07-31 Thread Mathias Hensel
Hello Neo4J-Team, does anyone looked into this issue? Any insights? Thanks again, Mathias -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Synchronization-of-EmbeddedReadOnlyGraphDatabase-Bug-tp3174626p3213450.html Sent from the Neo4j Community

[Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread John cyuczieekc
Hey guys, I've been thinking that I would like to have a topic (like this current one) where I would be allowed to post anything related to brainstorming on my project which is currently a mix of neo4j and berkeleydb java edition. That is, I would like to start from scratch and explain and

[Neo4j] updateOrAdd method

2011-07-31 Thread ahmed.elsharkasy
i face strange problems with this method , i am sure i am giving it the right node id and the new properties , but i found the same old un-updated node in the DB , also i followed the instructions regarding flushing and shutting down the index please can you help me? -- View this message in

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread Niels Hoogeveen
Hi John, I think when approaching a project there are two distinct issues at play, one is the tooling level, another is the actual solution you are trying to create for an actual problem. When looking at the tooling level it is great to have as much covered as possible. Neo4j offers a graph

Re: [Neo4j] updateOrAdd method

2011-07-31 Thread Jim Webber
Hi Ahmed, The best way for us to help is if you send a unit test that demonstrates the problem you're having. Can you send some JUnit code please? Jim On 31 Jul 2011, at 16:01, ahmed.elsharkasy wrote: i face strange problems with this method , i am sure i am giving it the right node id and

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread Jim Webber
Hi John, Niels, I think of indexes in Neo4j as long-lived names. Not quite the keep it local that Niels mentioned, but not entirely dissimilar either. Those long lived-names tend to give you starting points in the graph from where you perform graph operations. Indexing therefore constitutes

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread Marko Rodriguez
Marko had a good line about this: graphs are adjacency free indexes (or words to that affect). :) -- Index-free Adjacency Marko. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
Has anyone tried running Neoclipse with X11 Forwarding on a remote linux server? Any pointers ? It does not seem to work for me :( Any other tips for inspecting remote database contents of embedded installation, without the web admin ? Regards , Dima Gutzeit

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Michael Hunger
neo4j-shell or you could try to use WrappingNeoServerBootstrapper which runs a neo4j-server with an existing, embedded GraphDatabaseservice. See this thread for context: http://neo4j-community-discussions.438527.n3.nabble.com/How-to-download-neo4j-1-3-for-using-jo4Neo-tp3191002p3206212.html

Re: [Neo4j] Node#getRelationshipTypes

2011-07-31 Thread Niels Hoogeveen
Good point. It could for all practical purposes even be IterableRelationshipType so they can be lazily fetched, as long as the underlying implementation makes certain that any iteration of the RelationshipTypes forms a set (no duplicates). There is no need to have RelationshipTypes in any

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread Niels Hoogeveen
Interesting thought, and it is certainly true that indexing is much less of a concern in a graph database than in a normal RDBMS where generally every table needs to have a primary key and where you need to have an index on the primary key to be able to do joins (at least to do them somewhat

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread John cyuczieekc
Hey Niels, thanks for the concise reply. On Sun, Jul 31, 2011 at 5:10 PM, Niels Hoogeveen pd_aficion...@hotmail.comwrote: Hi John, I think when approaching a project there are two distinct issues at play, one is the tooling level, another is the actual solution you are trying to create for

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
Cool, which dependency is needed to use WrappingNeoServerBootstrapper ? Regards , Dima Gutzeit. On Sun, Jul 31, 2011 at 7:57 PM, Michael Hunger michael.hun...@neotechnology.com wrote: neo4j-shell or you could try to use WrappingNeoServerBootstrapper which runs a neo4j-server with an

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
I am sorry, missed it, its all there in the original post: org.neo4j.app:server:1.4 On Sun, Jul 31, 2011 at 8:46 PM, Dima Gutzeit dima.gutz...@mailvision.comwrote: Cool, which dependency is needed to use WrappingNeoServerBootstrapper ? Regards , Dima Gutzeit. On Sun, Jul 31, 2011 at

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
To be exact its org.neo4j.app:neo4j-server:1.4, and its not posted on central repository (why ?) but should be fetched from: http://m2.neo4j.org/http://m2.neo4j.org/releases/org/neo4j/app/neo4j-server/ On Sun, Jul 31, 2011 at 9:03 PM, Dima Gutzeit dima.gutz...@mailvision.comwrote: I am

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
Update and a question. I was able to get the server JARs and run the WrappingNeoServerBootstrapper. The problem is that after getting everything from maven it misses the neo4j-server-static-web.jar. Its not a part of any POM and is not listed in dependencies, nevertheless its required when

Re: [Neo4j] Remote database contents inspection

2011-07-31 Thread Dima Gutzeit
Runtime dependency is required for classifier 'static-web'. It should be documented somewhere so that others will not find it out the hard way :) On Sun, Jul 31, 2011 at 10:45 PM, Dima Gutzeit dima.gutz...@mailvision.comwrote: Update and a question. I was able to get the server JARs and run

Re: [Neo4j] Brainstorming on my project: neo4john

2011-07-31 Thread Niels Hoogeveen
Aiming to be as generic as possible can be good, but as some point you need to be specific too. You mention Java and Eclipse as being generic, but they are only to a point. When Java was introduced some of its main feats were platform independence, static type checking, garbage

[Neo4j] Checking for unfinished transactions

2011-07-31 Thread Felipe Oliveira Carvalho
How can I check if there are unfinished transactions? I want to do the same thing that is done when EmbeddedGraphDatabase is instantiated after a non-clean shutdown. Jul 31, 2011 5:06:12 PM org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown

Re: [Neo4j] GSoC 2011 Weekly report - OSM data mining and editing capabilities in uDig and Geotools

2011-07-31 Thread Mirco Franzago
==Weekly Report== Hi all, last week I started the implementation of the OSM data editing from uDIg and the fuctionality to save them on the database. This week I will continue this task. Regards, Mirco 2011/7/24 Mirco Franzago mircofranz...@gmail.com ==Weekly Report== Hi all, this week I

Re: [Neo4j] Node#getRelationshipTypes

2011-07-31 Thread Michael Hunger
Imho it would have to iterate as well. As the type is stored with the relationship record and so can only be accessed after having read it. It might be to have some minimal performance improvements that relationships would not have to be fully loaded, nor put into the cache for that. But this

Re: [Neo4j] Node#getRelationshipTypes

2011-07-31 Thread Niels Hoogeveen
I have two specific use cases for these methods: I'd like to present a node with the property types (names) it has content for and with the relationship types it has relationships for, while loading those properties/relationships on demand (ie. click here to see details). This can be done for

[Neo4j] js visualizer from the console

2011-07-31 Thread Boris Kizelshteyn
Hey All, How would I go about re-using that js visualizer that's in the console? Has anyone made a generic version? Many thanks! ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] Collaborative filtering in Cypher

2011-07-31 Thread Michael Lieberman
Hi, I'm new to graph databases and have been trying to understand the power of Cypher and/or Gremlin as a way to develop suggestion queries. I've watched a few webinars and read through some of the documentation but I've had a hard time figuring out complex suggestion type queries other than stuff