Re: [Neo4j] Could kapsack problem be solved via graph traversal using bounderies?

2014-04-08 Thread Michael Hunger
Hi Lundin, sorry didn't have time to look into this. Perhaps when you're in Malmö you can chat directly with one of our engineers. Otherwise let's find a time to talk about it. Cheers, Michael Am 03.04.2014 um 04:13 schrieb Lundin : > I am sorry but so no one knows if "run sums" is possible

Re: [Neo4j] CREATE INDEX and deadlock.

2014-04-08 Thread Michael Hunger
Index updates grab a schema lock, so you might be seeing this. But as Mike said, you should be able to run them all in the same tx? Indexes are populated asynchronously anyway. Only constraints are sync afaik. Michael Am 08.04.2014 um 23:20 schrieb Mike Holdsworth : > If you create the indexes

Re: [Neo4j] CREATE INDEX and deadlock.

2014-04-08 Thread Mike Holdsworth
If you create the indexes synchronously, or as a single batch in an async handler, does it work? In my Spring app, I can perform multiple schema ops in the same transaction, but running them independently with @Async I experienced deadlocks as separate transactions are started for each thread.

Re: [Neo4j] CREATE INDEX and deadlock.

2014-04-08 Thread Kevin Burton
Here is the code that creates the indexes that runs into a deadlock (typically on the creation of the index for the Folder label): function buildIndexes(data, callback) { var catalogIndex = false; var q = async.queue(function(item, queueCallback) { db.query(item, null, function(err, results) { if

[Neo4j] How to nest a query with Neo4j?

2014-04-08 Thread Alessandro Panebianco
I am trying to do a sort of nested Neo4j query in Java, which first labels a subset of nodes and then tries to match certain patterns among them. More specifically it is like combining 2 queries of this type: 1 - MATCH (n)-[r:RELATIONSHIP*1..3]->(m) set m:LABEL 2 - MATCH (p:LABEL)-[r2:RELATIO

Re: [Neo4j] Re: Issue with advanced mapping using java config (only - xml config works!)

2014-04-08 Thread Stacy Tyler Young
No, unfortunately I did not ...and it slipped through the cracks ...did not open JIRA issue. On Sun, Apr 6, 2014 at 4:29 PM, Dave Hallam wrote: > Hi Stacy, > > Can you recall if you ever resolved this issue? I'm experiencing the same > issue with a wholly java configured spring-boot based proje

Re: [Neo4j] CREATE INDEX and deadlock.

2014-04-08 Thread Wes Freeman
I create several indexes/constraints in the same transaction all the time. Can you provide code examples to reproduce this issue? I have a feeling you may be creating conflicting indexes (indexes on the same label/property), or something. If not, maybe it's just that they're running in separate tra

[Neo4j] CREATE INDEX and deadlock.

2014-04-08 Thread Kevin Burton
I am noticing that if I try to do more than one CREATE INDEX at the 'same time' I run into a deadlock exception. But before you say 'don't do that', which is the natural response I would like to know why. Is the process of creating an index essentially locking the database and should always be

Re: [Neo4j] Roadmap for label + relationship type removal

2014-04-08 Thread Michael Hunger
The label legend in the graph viz should be fixed now, the labels in the overview tab on the left side stay, that's true. I think Andreas who answered on the SO post is the best person to clarify this in terms of roadmap. Good point raising it, I'm not sure it will be a priority in the near future

Re: [Neo4j] Roadmap for label + relationship type removal

2014-04-08 Thread Bo Ferri
Hi Michael, thx a lot for your fast response. On Tuesday, April 8, 2014 10:36:47 AM UTC+2, Michael Hunger wrote: > > You mean removing the label-id's and rel-type-id's in the database? Afaik > it's not on the roadmap so far to cater for their total removal? > So far it has not really been an iss

Re: [Neo4j] Get Subgraph for Neo4j embedded graph database using Java

2014-04-08 Thread Jacob Hansson
Please keep Q&A-style questions like this on Stack Overflow. I answered your question here: http://stackoverflow.com/questions/22930305/get-subgraph-for-neo4j-embedded-graph-database-using-java/22932124#22932124 On Tue, Apr 8, 2014 at 9:32 AM, Sandeep Kurdagi wrote: > I want to get the first ho

[Neo4j] Get Subgraph for Neo4j embedded graph database using Java

2014-04-08 Thread Sandeep Kurdagi
I want to get the first hop neighbour nodes of some given set of nodes. After getting all the neighbour nodes, i want to get all the relationships existing between these neighbour nodes. I am not able to write cypher query for this. please kindly help. thanku -- You received this message be

[Neo4j] Export neo4j data

2014-04-08 Thread nitish bhardwaj
How to export neo4j graph into in the standard EdgeListFormat orAdjacencyListFormat ?? -- You received this message because you are subscribed to the Google Groups "Neo4j" gro

Re: [Neo4j] Roadmap for label + relationship type removal

2014-04-08 Thread Michael Hunger
You mean removing the label-id's and rel-type-id's in the database? Afaik it's not on the roadmap so far to cater for their total removal? So far it has not really been an issue. What makes you ask the question? If it is really critically needed you can make a store-copy and leave of the labels or

[Neo4j] Roadmap for label + relationship type removal

2014-04-08 Thread Bo Ferri
Hi, so far I investigated that label and relationship type removal is not possible right now, or? - see, e.g., http://stackoverflow.com/questions/21983425/how-to-delete-labels-in-neo4j i.e., the only and not so comfortable way is to clean-up the data directory in $NEO4J_HOME (which results in a