Re: [Neo4j] Best practice to avoid Unable to lock store error?

2011-07-15 Thread Michael Hunger
Right, that will never be fast enough? What is your reasoning behind shutting down the db after each commit? Cheers Michael Am 16.07.2011 um 01:19 schrieb Rick Bullotta: Why would you do that? Keep the database open as a singleton instead. - Reply message - From: noppanit

Re: [Neo4j] Neo4j with Tomcat...need a transaction manager

2011-07-15 Thread Michael Hunger
Springsource also provides/is working on their own tomcat based XA TM. Perhaps you'd like to check that out. (http://forum.springsource.org/showthread.php?76843-JTA-for-Tc-Serverp=258383#post258383) Otherwise there is only JOTM left. Neo4j can integrate with those TM. See also these blog posts

Re: [Neo4j] Neo4j with Tomcat...need a transaction manager

2011-07-15 Thread Michael Hunger
Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Friday, July 15, 2011 8:00 PM To: Neo4j user discussions Subject: Re: [Neo4j] Neo4j with Tomcat...need a transaction manager Springsource also provides/is working

Re: [Neo4j] REST API paging: specify sorting? and for index results?

2011-07-14 Thread Michael Hunger
They will in 1.5 and using lucene query syntax you can probably sort them. Michael mobile mail please excuse brevity and typos Am 14.07.2011 um 07:49 schrieb Aseem Kishore aseem.kish...@gmail.com: Okay, thanks for explaining. Would still love an answer to whether index results will

Re: [Neo4j] cypher where on query

2011-07-14 Thread Michael Hunger
Please keep in mind that where is no global filter but works per line. We had an misunderstanding regarding that on the ML, so I just wanted to point it out. mobile mail please excuse brevity and typos Am 14.07.2011 um 08:19 schrieb Andres Taylor andres.tay...@neotechnology.com: Yes, and

Re: [Neo4j] using custom data types with the server plugin API?

2011-07-14 Thread Michael Hunger
Server Plugins have a Lifecycle that you can participate in if you'd like. If you implement a subclass of PluginLifecycle and put its classname (followed by a newline) into a file: META-INF/services/org.neo4j.server.modules.PluginLifecycle Then the start and stop methods of your implementation

Re: [Neo4j] Performance issues with small transactions on certain Linux installations

2011-07-14 Thread Michael Hunger
results with other virtualization technologies. Best regards, James 2011/7/13 Michael Hunger michael.hun...@neotechnology.com: James, 10 tx/s in the write test seem to be not very much. A normal system should be able to run several hundred of them. With your small store-file I

Re: [Neo4j] RDF Examples not working - parent-pom

2011-07-14 Thread Michael Hunger
You can just try to remove the parent ... /parent block, that should work. Those are just meant for being built integrated in a larger system build. Cheers Michael Am 14.07.2011 um 13:23 schrieb Thomas Fritz: Hi, Who can fix this? As i can see one of the neo4j-rdf dependencys pulls

Re: [Neo4j] RDF Examples not working - parent-pom

2011-07-14 Thread Michael Hunger
! How can i remove the parent section from the pom.xml? It is in the dependency project maven tries to resolve, right? So how and where can i edit it? Kind regards --- Thomas FRITZ web http://fritzthomas.com twitter http://twitter.com/thomasf 2011/7/14 Michael Hunger michael.hun

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Michael Hunger
Hi Diego, what is your current runtime, deployment environment? #1 You can also use Neo4j.rb with the embedded database for direct access without HTTP roundtrips if that suits your needs. You can have either two copies of your neo4j servers running on different ports, or you can modify the

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Michael Hunger
help Best, Diego On 14/07/2011, at 11:23, Michael Hunger wrote: Hi Diego, what is your current runtime, deployment environment? #1 You can also use Neo4j.rb with the embedded database for direct access without HTTP roundtrips if that suits your needs. You can have either two copies

Re: [Neo4j] Performance issues with small transactions on certain Linux installations

2011-07-14 Thread Michael Hunger
the filesystem type? If it says ecryptfs you should consider moving the database somewhere else. It seems reading and writing many small files through an untuned ecryptfs is pretty poor. Cheers, Dan On 14 July 2011 13:34, Michael Hunger michael.hun...@neotechnology.comwrote: James, could

Re: [Neo4j] Neo4j vs orient db

2011-07-14 Thread Michael Hunger
I think you should be easily able to write a generator and query use-cases from _your domain_. And then use the code on orientdb and neo4j (native APIs) you might also use tinkerpop/gremlin but then you have the indirection in betwee. We can at least give you pointers for the neo4j code. And

[Neo4j] We now have an automatic discussion forum on the Nabble Mailing List Archive

2011-07-14 Thread Michael Hunger
They seem to have updated their UI massively, it now looks and works like a forum while interacting with this neo4j mailing list. Landing page is here: http://neo4j-user-list.438527.n3.nabble.com You can browse and search the forums from there, some hints about mailing list usage and forum

Re: [Neo4j] We now have an automatic discussion forum on the Nabble Mailing List Archive

2011-07-14 Thread Michael Hunger
I forgot two things: 1) I changed all the links on neo4j.org that previously pointed to the ugly mailman archive page to point to nabble instead. 2) The discussion mailing list vs. forum is over, I'm very happy about that. Michael Am 14.07.2011 um 22:01 schrieb Michael Hunger: They seem

Re: [Neo4j] RDF Examples not working - parent-pom

2011-07-14 Thread Michael Hunger
to be fixed from Neo4J and has to be updated on maven central? Kind regards --- Thomas FRITZ web http://fritzthomas.com twitter http://twitter.com/thomasf 2011/7/14 Michael Hunger michael.hun...@neotechnology.com: It should be directly in your pom.xml at the top, there is an xml

Re: [Neo4j] Performance issues with small transactions on certain Linux installations

2011-07-13 Thread Michael Hunger
apt-get install python-software-properties $ sudo add-apt-repository deb http://archive.canonical.com/ lucid partner $ sudo apt-get update $ sudo apt-get install sun-java6-jdk Best regards, James 2011/7/13 Michael Hunger michael.hun...@neotechnology.com: James, So you didn't install

Re: [Neo4j] User Digest, Vol 52, Issue 58

2011-07-13 Thread Michael Hunger
and relationships in REST (Jim Webber) 10. Re: User Digest, Vol 52, Issue 54 (Michael Hunger) -- Message: 1 Date: Tue, 12 Jul 2011 16:32:55 -0400 From: Matt Luongo m...@scholr.ly Subject: Re: [Neo4j] auto indexes

Re: [Neo4j] User Digest, Vol 52, Issue 58

2011-07-13 Thread Michael Hunger
, Vol 52, Issue 54 (Michael Hunger) -- Message: 1 Date: Tue, 12 Jul 2011 16:32:55 -0400 From: Matt Luongo m...@scholr.ly Subject: Re: [Neo4j] auto indexes in REST in 1.4? To: Neo4j user discussions user@lists.neo4j.org

Re: [Neo4j] Performance issues with small transactions on certain Linux installations

2011-07-13 Thread Michael Hunger
James 2011/7/13 Michael Hunger michael.hun...@neotechnology.com: James, I reran the tests with the binary JDK from oracle as well as the one installed via apt-get. Both yielded the same good results. Did you re-run the linux-write-test on the different performing systems (especially

Re: [Neo4j] User Digest, Vol 52, Issue 63

2011-07-13 Thread Michael Hunger
Please try my query: start n=(11) match (n)-[:KNOWS]-(f)-[:KNOWS]-(o)-[:KNOWS]-(fof) where fof != f and o != n return fof,count(*) order by count(*) desc You returned n this time? I'm forking this topic into help.neo4j.org, so you don't have to deal with the Mailing List digest all the

Re: [Neo4j] Compilation failure from the cypherplugin(mvn2)!

2011-07-13 Thread Michael Hunger
If you just take the pom, remove the complete parent section, make sure that the neo4j.version is set to 1.4 you should be able to build it without problems standalone. Thanks Michael Am 13.07.2011 um 14:31 schrieb Zhiguo Zhang: hi, after successful install and running the

Re: [Neo4j] Compilation failure from the cypherplugin(mvn2)!

2011-07-13 Thread Michael Hunger
] On Wed, Jul 13, 2011 at 2:39 PM, Michael Hunger michael.hun...@neotechnology.com wrote: If you just take the pom, remove the complete parent section, make sure that the neo4j.version is set to 1.4 you should be able to build it without problems standalone

Re: [Neo4j] Compilation failure from the cypherplugin(mvn2)!

2011-07-13 Thread Michael Hunger
way it build successful. I will try to use that. On Wed, Jul 13, 2011 at 3:04 PM, Michael Hunger michael.hun...@neotechnology.com wrote: The parent section is this: parent groupIdorg.neo4j/groupId artifactIdparent-pom/artifactId version21/version /parent So your pom should

Re: [Neo4j] 1.4 Console Cypher dose not work, but Cypher Plugin works fine!

2011-07-13 Thread Michael Hunger
Mike, how do you constitute that the cypher console does not work? Please note that you have to hit return twice as this console accepts multiline input. Cheers Michael Am 13.07.2011 um 16:22 schrieb Zhiguo Zhang: hi, maybe there is only few people use the console with the cypher

Re: [Neo4j] Example of using WrappingNeoServerBootstrapper

2011-07-13 Thread Michael Hunger
The org.neo4j.app%neo4j-server%1.4 is deployed to the m2.neo4j.org repository. Cheers Michael Am 13.07.2011 um 18:21 schrieb Jacob Hansson: The only dependency for that is the neo4j-server maven package. I am not sure, however, if that is a public maven artifact. If you can't find it,

Re: [Neo4j] using custom data types with the server plugin API?

2011-07-13 Thread Michael Hunger
Eelco, there is at least one issue that I can see - different type + dir might have the same hashcode overriding each other. I would use Rel as a real class. - so implement hashcode and equals in it correctly - remove the getters from Rel, add a toJson() method - don't use String name in the

Re: [Neo4j] How to index/lookup from an array property?

2011-07-13 Thread Michael Hunger
Indexed values are actually not bound to be properties. The index framework just calls toString() on indexed values that are not ValueContexts. So you should find a suitable representation of your arrays (e.g. a comma separated list or a json array string) if you want to lookup them. And then

Re: [Neo4j] Questions

2011-07-12 Thread Michael Hunger
Hi, could you please try: START id_my=(11) MATCH (id_my)-[:KNOWS]-(f)-[:KNOWS]-(fof) RETURN fof for distinct results please use distinct START id_my=(11) MATCH (id_my)-[:KNOWS]-(f)-[:KNOWS]-(fof) RETURN distinct fof I don't know what the -[:KNOWS]-(id_o)-[:KNOWS]- stands for? What is the

Re: [Neo4j] User Digest, Vol 52, Issue 54

2011-07-12 Thread Michael Hunger
and filter (Ian Robinson) 2. Questions (Nami Zarringhalam) 3. Re: Questions (Michael Hunger) 4. Re: User Digest, Vol 52, Issue 53 (Josh Adell) 5. missing required jta.jar for debian? (Eddy Respondek) 6. Re: missing required jta.jar for debian? (Chris Gioran) 7. how setup lucene

Re: [Neo4j] How to filter out a visited node in Cypher?

2011-07-11 Thread Michael Hunger
I rather think you want to do. start n=(1) match (n)-[r]-(x) where r~TYPE != :REL3 return count(x) Could you please try that. Cheers Michael Am 11.07.2011 um 22:42 schrieb David Montag: Hi, It sounds like you want to: return distinct x David On Mon, Jul 11, 2011 at 1:06 PM,

Re: [Neo4j] What to do with Unable to lock store?

2011-07-10 Thread Michael Hunger
Can you please check that? use jps or ps -aux | grep java to look for other java processes. Could you please also provide the content of your graph.db/messages.log ? It might be that somehow the grails plugin is started twice by grails leading to this scenario. Cheers Michael Am 10.07.2011

Re: [Neo4j] clean database / unit tests

2011-07-10 Thread Michael Hunger
there before the /cleandb call. Subsequent calls to /cleandb outputs that nothing is deleted (still returning code 500 though). Leaves me thinking it's the webadmin that is confused rather than that it didn't clean the db. Left confused. On Fri, Jul 8, 2011 at 9:19 PM, Michael Hunger

Re: [Neo4j] What to do with Unable to lock store?

2011-07-10 Thread Michael Hunger
no it is not corrupted it is just a second instance accessing the same store either from the same jvm or another how and where do you start your embeddedgraphdb? and if you don't shutdown the db cleanly it will have to recover at the next start Michael mobile mail please excuse brevity and

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
the lucene tool is called luke just point it to the directory of your concrete index mobile mail please excuse brevity and typos Am 10.07.2011 um 20:47 schrieb noppanit noppani...@gmail.com: Is there any tool that I could use to look at lucene database? So, after packed the war file, I can

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Did you also copy you store directory with the graph and index data to ec2 to the same correct location that xou give to EmbeddedGraphDatabaseService? M mobile mail please excuse brevity and typos Am 10.07.2011 um 20:44 schrieb noppanit noppani...@gmail.com: I'm building an app with neo4j,

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
As Marko said: the directory is: graph.db/index/lucene/node/my_index Michael Am 10.07.2011 um 22:21 schrieb noppanit: but when I point luke to the database direction where I also use EmbeddedGraphDatabase to point at I got error Invalid location, please try another location Thanks. :)

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Can you pack your db and provide it somewhere, perhaps on dropbox? That would be great for investigation. Thanks Michael Am 11.07.2011 um 00:40 schrieb noppanit: Hi! sorry if I keep bothering you. I point to db/index/lucene/node/myindex now. I got this error. Unknown format version:

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Oh, you should use Luke 3.1.0 Thanks Rick for pointing that out. see here http://code.google.com/p/luke/downloads/list Luke releases are numbered the same as the version of Lucene libraries that they use (plus a minor number in case of bugfix releases). Cheers Michael Am 11.07.2011 um 01:23

Re: [Neo4j] Neo4J or MYSQL Cluster

2011-07-09 Thread Michael Hunger
, Michael Hunger michael.hun...@neotechnology.com wrote: Every interconnected data is actually a graph and for an e-comm site you have even more of them. Category trees, price-lines, customer purchases and likes, recommendations, product instances (of basic product types + attribute sets

Re: [Neo4j] web application and neo4j hosting

2011-07-09 Thread Michael Hunger
We got mixed results for large store aws deployments. EBS performance is a bit flaky and creates high i/o wait load under pressure. That can be alleviated a bit by a raid0 of many ebs volumes. But you can easily test that for your usecase/requirements with a simple aws ec2 setup. There are

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Michael Hunger
But I'm not sure when in 1.5 this is going to be addressed. So if Niels could look at the effort needed and perhaps pair with Andrew on getting this done (or at least give him some pointers to implement it) this would be great! Cheers Michael Am 08.07.2011 um 07:07 schrieb Peter Neubauer:

Re: [Neo4j] Neo4J or MYSQL Cluster

2011-07-08 Thread Michael Hunger
Every interconnected data is actually a graph and for an e-comm site you have even more of them. Category trees, price-lines, customer purchases and likes, recommendations, product instances (of basic product types + attribute sets) etc. And much more. We also have experience in team in

Re: [Neo4j] clean database / unit tests

2011-07-08 Thread Michael Hunger
Even then I don't think that left over relationship types do any damage in testing. The addon has a way to delete the database completely but that's only used for large db's (10k nodes). I could make it accessible programmatically. But I don't think it's worth the effort. Cheers Michael Am

Re: [Neo4j] Indexed relationships

2011-07-08 Thread Michael Hunger
Can't you rebalance the tree by just marking nodes as deleted? (setting properties or collecting their id's somewhere?) Michael Am 09.07.2011 um 00:29 schrieb Craig Taverner: Not sure if this will be the same for you, but we were not able to use the RTree in batch inserter mode, since the

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
Good work, do you have an example ready (and/or some tests that show how it works/is used) ? In creation, manual traversal and automatic traversal (i.e. is there a RelationshipExpander that uses it). And in the constructor if there is no relationship to the treeNode, you create a new one,

Re: [Neo4j] REST batch support - transaction support for java rest client?

2011-07-07 Thread Michael Hunger
On Mon, Jul 4, 2011 at 11:07 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Patrick, I've already thought long and hard about that. The problem is you can't implement that transparently as you can never allow code in a second call rely on data derived from a previous one

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
Could you put these code examples into the Readme for the project or on a wiki page? Am 07.07.2011 um 22:11 schrieb Niels Hoogeveen: IndexedRelationship and IndexedRelationshipExpander are now in Git. See:

Re: [Neo4j] Performance issue on nodes with lots of relationships

2011-07-07 Thread Michael Hunger
the same problem pattern that been in discussion lately with dense nodes or supernodes (check http://lists.neo4j.org/pipermail/user/2011-July/009832.html). Michael Hunger has provided a quick solution to visiting the *few* RelationshipTypes on a node that has *millions* of others, utilizing

Re: [Neo4j] REST batch support - transaction support for java rest client?

2011-07-07 Thread Michael Hunger
. but on server side I guess you have issues with never ending transactions, how to cull them, etc. since it's a stateless req/response comm channel. on a permanent channel it's easy to detect disconnect and clean up, over http not as easy. thanks On Thu, Jul 7, 2011 at 12:42 PM, Michael Hunger

Re: [Neo4j] Indexed relationships

2011-07-07 Thread Michael Hunger
Thanks Michael Am 08.07.2011 um 01:19 schrieb Niels Hoogeveen: I created a wiki page for indexed relationships in the Git repo, see: https://github.com/peterneubauer/graph-collections/wiki/Indexed-relationships From: michael.hun...@neotechnology.com Date: Thu, 7 Jul 2011 22:53:05 +0200

Re: [Neo4j] Lifecycle of a Graph ?

2011-07-06 Thread Michael Hunger
Could you explain, how you load it into memory? And what you do that returns null? The graph itself has no lifecycle. Then Graph-Entities are attached the nodes and relationships when you load (via repositories, cypher or direct, or when you navigate along relationships) them and allow write

Re: [Neo4j] Performance issue on nodes with lots of relationships

2011-07-06 Thread Michael Hunger
Andrew, could you please also try to access the graph via the latest Milestone 1.4.M06 to see if things have improved. Does this behaviour only effect the supernodes or every node in your graph (e.g. when you access, cd, ls a person-node?) We've been discussing some changes to the initial

Re: [Neo4j] Performance issue on nodes with lots of relationships

2011-07-06 Thread Michael Hunger
Andrew, can you by chance share you graph-db or perhaps your generator script? Then we could evaluate that and see where the performance hit occurs. Neo4j-shell checks the connectedness of the graph so that you can't get lost just while navigating. Could you try to use cd -a 1 (this does

Re: [Neo4j] t= new Table() in Gremlin

2011-07-06 Thread Michael Hunger
Boris, I think, 1.3 uses a much older version of gremlin which didn't get the Table result type yet? Please pull 1.4.M06 and try to use it there to see if it works in the current version. Cheers Michael Am 07.07.2011 um 04:34 schrieb Boris Kizelshteyn: Greetings! I am using stable 1.3 and

Re: [Neo4j] polyglot persistence for neo4j

2011-07-05 Thread Michael Hunger
Aliabbas, several customers integrate neo4j with other rdbms and nosql solutions. For instance evident software integrates Neo4j in production with Cassandra. And StudiVZ (imho) integrates it with mysql. There are certainly others, but I'm not so deeply involved in the customer architectures

Re: [Neo4j] Problem starting up Neo4J on Red Hat 5

2011-07-05 Thread Michael Hunger
Alex, which JDK are you using on which platform? Thanks Michael Am 05.07.2011 um 13:15 schrieb Alex Bilbie: Hello, I've just downloaded the latest stable Neo4J community edition (v1.3) and I'm having some problems starting it up. If I run /bin/neo4j start from the command line I get:

Re: [Neo4j] Data Federation

2011-07-05 Thread Michael Hunger
Hi John, The problem really is if your traversals crosses shards more often then you're hit with a network hop penalty every time. So real automatic graph sharding would also accomodate that by replicating the relevant sub-graphs of the remote shard to the local one (keeping them in sync as

Re: [Neo4j] Neo4j startup script syntax errors

2011-07-04 Thread Michael Hunger
Which shell is that? Could you try to change #!/bin/sh to #!/bin/bash for a test? Thanks a lot Michael Am 04.07.2011 um 10:57 schrieb Paul Bandler: When invoking the bin/neo4j command on solaris the following error messages are display and the script halts : TEST:bandlerp@us2187$

Re: [Neo4j] REST batch support - transaction support for java rest client?

2011-07-04 Thread Michael Hunger
Patrick, I've already thought long and hard about that. The problem is you can't implement that transparently as you can never allow code in a second call rely on data derived from a previous one. The simplest form that I came up with is a BatchCommand that gets an API interface injected that

Re: [Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-07-04 Thread Michael Hunger
of the m being created and discarded any comment - is this an anti-pattern and a rationale to use the neo4j traversal framework mechanism? On 3 Jul 2011, at 12:47, Michael Hunger wrote: Paul, could you provide some details which kinds of perf-tests don't perform on a RAM disk

Re: [Neo4j] Distinct results in Cypher

2011-07-03 Thread Michael Hunger
We do distinct on all fields no part of an aggregate result. so you could do return b, count(*) to get distinct b's Michael Sent from my iBrick4 Am 03.07.2011 um 00:03 schrieb Josh Adell josh.ad...@gmail.com: Is it possible to get distinct results in Cypher? Something like START a=(1)

Re: [Neo4j] Distinct results in Cypher

2011-07-03 Thread Michael Hunger
In 1.5 Michael Sent from my iBrick4 Am 03.07.2011 um 13:33 schrieb Peter Neubauer neubauer.pe...@gmail.com: I like DISTINCT keyword support explicitly. Sent from my phone. On Jul 3, 2011 1:27 PM, Michael Hunger michael.hun...@neotechnology.com wrote: We do distinct on all fields

Re: [Neo4j] problem with neography and index.

2011-07-01 Thread Michael Hunger
/neography-0.0.13/lib/neography/rest.rb:363:in `post' from /home/ker2x/.rvm/gems/ruby-1.9.2-p180/gems/neography-0.0.13/lib/neography/rest.rb:317:in `traverse' from nokogiri-test.rb:26:in `main' -- Keru On Fri, Jul 1, 2011 at 1:15 PM, Michael Hunger michael.hun

Re: [Neo4j] Unexpected error

2011-07-01 Thread Michael Hunger
No but you could group them on some simple function (like the last n digits). Perhaps just the last 5 digits then you have 10k nodes with 35k index entries each. (And you can of course index those nodes with those 5 last digits so you can quickly retrieve them) (for adding to the index - or

Re: [Neo4j] no remote thread-safe API

2011-06-30 Thread Michael Hunger
The issue there is that your client requests each have their own transaction so there. If you want to execution multiple requests transactionally in one block you should use the new batch-rest API. http://docs.neo4j.org/chunked/milestone/rest-api-batch-ops.html Cheers Michael Am 30.06.2011

Re: [Neo4j] Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Michael Hunger
Paul, what version of Solaris are you running that on? We don't have Solaris as part of our build-qa workflow (yet). So I would try to see if there is an ec2 instance that I could just use for that. Cheers Michael Am 30.06.2011 um 13:26 schrieb Paul Bandler: A colleague has speculated that

Re: [Neo4j] traversing densely populated nodes

2011-06-30 Thread Michael Hunger
The issue being that relationships on disk are not ordered, so that, even when just accessing the few relationships of the one type you still have to scan all rels. For supporting different approaches you either have to change the store-format to handle the storage and loading of relationships

Re: [Neo4j] problem with neography and index.

2011-06-30 Thread Michael Hunger
you have to escape the url index value otherwise the jersey rest framework consumes it silently. I had this problem when working on the birdies demo app. Took me a while to work that out. see http://github.com/jexp/birdies and http://birdies.heroku.com Michael Sent from my iBrick4 Am

Re: [Neo4j] Unique index nodes

2011-06-30 Thread Michael Hunger
I'll look into that in the next few days. Michael Sent from my iBrick4 Am 30.06.2011 um 16:25 schrieb Matt Chambers yougotroo...@gmail.com: I asked this same question a little while ago, the answer is that its up to you to guarantee uniqueness. There are a few different ways to to this,

Re: [Neo4j] traversing densely populated nodes

2011-06-30 Thread Michael Hunger
Just putting Angelos answer in this thread where it belongs :) Dear Graphistas, Im glad this topic is getting traction, cause I think this issue is *MAJOR*. I firmly believe that if neo4j wants to become the Web 2/3 ready and Social 1/2 ready graphdb, it has to be able to accommodate fast

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-30 Thread Michael Hunger
, then it returns empty set. This is in line with my original email. Do you want me to do something else? Please let me know On Wed, Jun 22, 2011 at 8:39 PM, Michael Hunger michael.hun...@neotechnology.com wrote: getElements() returns a set of your elements. If you do an add(element

Re: [Neo4j] Does anyone use Solaris for neo4j app? [was Unable to memory map [was java.io.IOException: Resource temporarily unavailable in MappedPersistenceWindow.java?

2011-06-30 Thread Michael Hunger
= Generic_13-03 Machine = sun4u BusType = unknown Serial = unknown Users = unknown OEM# = 0 Origin# = 1 NumCPU = 16 Sent from my iPhone On 30 Jun 2011, at 12:53, Michael Hunger michael.hun...@neotechnology.com wrote: Paul, what version of Solaris are you running that on? We don't

Re: [Neo4j] Regarding developing an application with Neo4j

2011-06-29 Thread Michael Hunger
Sanju, there is also a wiki page with directions for different visualization options for webapps. http://wiki.neo4j.org/content/Visualization_options_for_graphs Michael Am 29.06.2011 um 13:58 schrieb Stefan Zapf: Hi Sanju, I'm just a newbie to neo4j, but maybe it's helpful to think about

Re: [Neo4j] traversing densely populated nodes

2011-06-29 Thread Michael Hunger
I think this is the same problem that Angelos is facing, we are currently evaluating options to improve the performance on those highly connected supernodes. A traditional option is really to split them into group or even kind of shard their relationships to a second layer. We're looking into

[Neo4j] Spring Data Graph Template query API proposal

2011-06-28 Thread Michael Hunger
Hi, I've been struggling with integrating all those different kinds of queries into a nice API for the Neo4jTemplate I want to avoid a proliferation of query methods like in JdbcTemplate, so my current approach is a builder pattern which looks like. QueryResultMapString,Object query(String

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Michael Hunger
Adrian, can you by chance share your dataset (or a generator that creates a similar one)? Then I'd like to profile the query. One other thing. From what I understand, those queries should return the same result, but they don't: start c=(typeIndex,node_type,C), e=(typeIndex,node_type,E)

Re: [Neo4j] Unexpected error

2011-06-28 Thread Michael Hunger
lucene index. (with one doc per node-id (or hash). Cheers Michael Am 28.06.2011 um 10:21 schrieb Massimo Lusetti: On Mon, Jun 27, 2011 at 11:56 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Massimo, could you please look into the Lucene Document instance that you add all

Re: [Neo4j] Unexpected error

2011-06-28 Thread Michael Hunger
...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Tuesday, June 28, 2011 7:58 AM To: Neo4j user discussions Subject: Re: [Neo4j] Unexpected error Hi Massimo, still the lucene document holds an ArrayList with all fields which grows immensely as you add millions of fields. package

[Neo4j] Graph Database Berlin Meetup, Tomorrow, Tue June 28th, 1900, c-base

2011-06-27 Thread Michael Hunger
Hi, Everyone who is in the region is welcomed to come along. If not, please help spread the word to your German friends and colleagues :) http://www.meetup.com/graphdb-berlin/ Cheers Michael ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Unexpected error

2011-06-27 Thread Michael Hunger
Lusetti: On Sat, Jun 25, 2011 at 2:59 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Massimo, when profiling this it quickly becomes apparent that the issue is within the lucene document. (org.apache.lucene.document.Document) it holds an arraylist of all its fields which

Re: [Neo4j] Integer cost property

2011-06-25 Thread Michael Hunger
Rather just use ((Number)n).doubleValue(). That should work for all primitive math types and their counter-Objects, as well as BigDecimal/BigInteger. Cheers Michael Am 25.06.2011 um 17:52 schrieb Jim Webber: Josh, Just to re-assure you I haven't lost this. The REST stuff I wanted in the

Re: [Neo4j] Unexpected error

2011-06-24 Thread Michael Hunger
Massimo, when profiling this it quickly becomes apparent that the issue is within the lucene document. (org.apache.lucene.document.Document) it holds an arraylist of all its fields which amount to all the memory. It also contains several methods that walk over that list (filtering it) and or

Re: [Neo4j] Webadmin browser dependencies?

2011-06-23 Thread Michael Hunger
Which parts of webadmin are absolutely critical? What about neoclipse readonly? Sent from my iBrick4 Am 23.06.2011 um 19:00 schrieb Rick Bullotta rick.bullo...@thingworx.com: Welcome to my world, Paul... Web applications that don't recognize the realities of the enterprise desktop won't

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-22 Thread Michael Hunger
. On Sun, Jun 19, 2011 at 2:34 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Right now this works only with the getElements().add method. But then you don't get all the graph methods (traversals and such). We discussed some time ago writing a virtual graph layer on top

Re: [Neo4j] write to graph with python

2011-06-22 Thread Michael Hunger
Is that the python REST binding or the python binding for a local graph database? If you run the server you have to work with the REST API (and bindings for that): http://components.neo4j.org/neo4j-server/snapshot/rest.html and here http://docs.neo4j.org/chunked/1.4-SNAPSHOT/rest-api.html one

Re: [Neo4j] Can I model a Graph data structure without persisting it in DB using Neo4j ?

2011-06-20 Thread Michael Hunger
soon. Meanwhile can you elaborate what you meant by transient index ? I would like to keep a very simplified design for transient graphs and not persist any nodes at all if possible. On Sun, Jun 19, 2011 at 2:34 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Right now

Re: [Neo4j] Neo Distributions Including Source

2011-06-18 Thread Michael Hunger
Also, Jim just pointed you to the top-level metadata directory in maven: An example for a lower level one, that actually contains the sources is: http://m2.neo4j.org/org/neo4j/neo4j-kernel/1.4-SNAPSHOT/ The milestones and releases are on maven-central (including the sources - btw. if you set

Re: [Neo4j] Announcing Neo4j 1.4 M04 “Kiruna Stol”

2011-06-17 Thread Michael Hunger
yes it does. one tx per batch M Sent from my iBrick4 Am 17.06.2011 um 19:17 schrieb Aseem Kishore aseem.kish...@gmail.com: Quick q: will the new REST API batching feature treat the operations as a single transaction? That would be convenient for some scenarios I think, like swapping two

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread Michael Hunger
Also, what technology are you writing those map-reduce jobs with ? (framework, runtime-env, etc). Some code samples would be great as well. Cheers Michael Am 17.06.2011 um 22:24 schrieb Jim Webber: Hello Sulabh, We're going to need a little more information before we can help. Can

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread Michael Hunger
Hi Sulabh, what do you mean by 'local' mode? The batch inserter can only be used in a single threaded environment. You shouldn't use it in a concurrent env as it will fail unpredictably. Please use the EmbeddedGraphDatabase instead. Michael Am 17.06.2011 um 23:20 schrieb sulabh choudhury:

Re: [Neo4j] Neo4j with MapReduce inserts

2011-06-17 Thread Michael Hunger
to run in distributed mode. On Fri, Jun 17, 2011 at 2:25 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hi Sulabh, what do you mean by 'local' mode? The batch inserter can only be used in a single threaded environment. You shouldn't use it in a concurrent env as it will fail

Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released

2011-06-16 Thread Michael Hunger
it happen (publish the thing online) before summer end. On Wed, Jun 15, 2011 at 10:17 AM, Michael Hunger michael.hun...@neotechnology.com wrote: Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed

Re: [Neo4j] Spring Data Graph 1.1.0.M1 milestone released

2011-06-16 Thread Michael Hunger
/dependency Am 16.06.2011 um 16:10 schrieb Vipul Gupta: please give the maven repository information from where it can be downloaded. On Thu, Jun 16, 2011 at 6:50 PM, Michael Hunger michael.hun...@neotechnology.com wrote: You could just use the direct repository factory

Re: [Neo4j] Query Number of Nodes with Property Filter

2011-06-15 Thread Michael Hunger
-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Wednesday, 15 June 2011 2:54 PM To: Neo4j user discussions Subject: Re: [Neo4j] Query Number of Nodes with Property Filter just describe your domain and your use-cases for usage and the graph model you developed and we can discuss

Re: [Neo4j] Which version of neo4j does spring data graph project use ?

2011-06-15 Thread Michael Hunger
Sorry, mixed up the threads on the iphone :( Will post an SDG update right ahead. Michael Am 15.06.2011 um 05:42 schrieb Vipul Gupta: Michael, I don't see anything released on maven repo yet? Please update. -VIpul On Fri, Jun 10, 2011 at 3:40 PM, Michael Hunger michael.hun

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

2011-06-15 Thread Michael Hunger
some of the stuff in the war folder. Oh and took out all the .jar files there too, otherwise this was just way to huge to share. Hope this will shine some light on the problem :S On Fri, Jun 10, 2011 at 07:18, Michael Hunger michael.hun...@neotechnology.com wrote: Eclipse .project

[Neo4j] Spring Data Graph 1.1.0.M1 milestone released

2011-06-15 Thread Michael Hunger
Dear Graphistas, After some quiet time that I spend on other important issues, we're back on our regular release cycle/rhythm. We discussed the future SDG roadmap with our CEO Emil and decided to work first on the issues that were reported by our users here on the mailing list, on the spring

Re: [Neo4j] Slow Traversals on Nodes with too many Relationships

2011-06-15 Thread Michael Hunger
That is rather a case of warming up your caches. Determining the traversal speed from the first run is not a good benchmark as it doesn't represent production usage :) The same (warming up) is true for all kinds of benchmarks (except for startup performance benchmarks). Cheers Michael Am

Re: [Neo4j] Slow Traversals on Nodes with too many Relationships

2011-06-15 Thread Michael Hunger
Agelos, sorry, didn't want to sound that way. 512M ram is not very much for larger graphs. Neo4j has to cache nodes, relationships in the heap as well as you own datastructures. The memory mapped files for the datastores are kept outside the heap. Normally with your 4G I'd suggest using

<    1   2   3   4   5   6   7   >