Re: [Neo4j] Lost in unable to commit transaction errors, during move from 1.9.3 - 2.0.0 (now all reads require transactions)

2014-01-02 Thread Mattias Persson
to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology

Re: [Neo4j] Neo4j Server takes very long to start with new DB file

2014-01-10 Thread Mattias Persson
. -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr

Re: [Neo4j] dijkstra bidirectional

2014-05-09 Thread Mattias Persson
Antonio -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias

Re: [Neo4j] Question about Relationships number and their influence on algorithms

2014-05-26 Thread Mattias Persson
. -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias

Re: [Neo4j] Re: dijkstra bidirectional

2014-06-17 Thread Mattias Persson
Sorry for not replying but time is a scarse resource :( I don't expect my getting time for this the closest months. Perhaps there are others willing to help out! Take care Best, Mattias Den 10 jun 2014 12:06 skrev Antonio Grimaldi antonio.grimaldim...@gmail.com: Is*

Re: [Neo4j] Multithreading over a read-only Graph Database

2014-07-03 Thread Mattias Persson
Could you elaborate a bit on how you query? On another note I know that the upcoming 2.2 will aleviate a bunch of contention points around transactions. Den 2 jul 2014 15:08 skrev ashish jindal ashishjin...@zophop.com: Hi, I am using neo4j embedded 2.1.2 . My use case is only read operations

Re: [Neo4j] Do I have to split relations of a node into domains?

2014-08-01 Thread Mattias Persson
, visit https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr

Re: [Neo4j] Upgrade from 2.0.3 to 2.1.3 == Starting Neo4j Server failed: ... Unable to upgrade database

2014-08-04 Thread Mattias Persson
to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails

Re: [Neo4j] Upgrade from 2.0.3 to 2.1.3 == Starting Neo4j Server failed: ... Unable to upgrade database

2014-08-04 Thread Mattias Persson
-08-04 8:35 GMT+02:00 Mattias Persson matt...@neotechnology.com: That looks awfully weird, I can't see how that NPE comes to be. Your database would help immensly. On Sun, Aug 3, 2014 at 2:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hi, Sorry to hear that, I take it up

Re: [Neo4j] (Michael)-[:ON]-(Vacation)

2014-08-04 Thread Mattias Persson
to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails

Re: [Neo4j] batch import 2.0 avoiding duplicate relationships?

2014-08-15 Thread Mattias Persson
https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr

Re: [Neo4j] What should the behavior be for shortest path from node to itself - BUG

2014-09-18 Thread Mattias Persson
://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com

Re: [Neo4j] What should the behavior be for shortest path from node to itself - BUG

2014-09-18 Thread Mattias Persson
it be? `null` or a path starting from node to itself? I couldn't find relevant documentation for it Jatin On Thu, Sep 18, 2014 at 1:21 PM, Mattias Persson matt...@neotechnology.com wrote: Yup looks like a bug to me. I'm one of the authors of that algo implementation, so I'll see if I can have a look

Re: [Neo4j] neo4j broken/corrupted after ungraceful shutdown

2014-09-29 Thread Mattias Persson
this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j

Re: [Neo4j] neo4j broken/corrupted after ungraceful shutdown

2014-10-01 Thread Mattias Persson
datastore without the broken nodes, but that solution seems very heavy and not practical if this problem ever happens on productions. any ideas? thanks :) On Monday, September 29, 2014 2:34:40 PM UTC, Mattias Persson wrote: Which version are you using? Have you upgraded version recently

Re: [Neo4j] Why are previous pointer in relationship store necessary, and in what situation are they useful?

2014-10-27 Thread Mattias Persson
/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you are subscribed to the Google Groups Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit

Re: [Neo4j] NotNotFoundException race condition

2014-11-25 Thread Mattias Persson
Neo4j group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Mattias Persson Neo4j Hacker at Neo Technology -- You received this message because you

Re: [Neo4j] NotNotFoundException race condition

2014-11-28 Thread Mattias Persson
notifications for transactions being committed as opposed to trying to load the node by id to determine if it is really available. Sent from my iPhone On Nov 25, 2014, at 16:45, Mattias Persson matt...@neotechnology.com wrote: So may I sum this up as you're temporarily seeing the created node

Re: [Neo4j] Unable to upgrade 2.1.6 database to 2.2.0-RC1

2015-03-12 Thread Mattias Persson
Hi, I've found and fixed the problem. Here is the pull request: https://github.com/neo4j/neo4j/pull/4193 . It will be included in 2.2 GA Best, Mattias On Tuesday, March 10, 2015 at 8:37:01 AM UTC+1, Michael Hunger wrote: Could you share the full log with me as well as a listing of the db-dir

[Neo4j] Re: Neo4j-Import Shell

2015-04-20 Thread Mattias Persson
You seem to have 2^16 (65536) or more different relationship types, neo4j doesn't support that. Is that intentional in your dataset? On Sunday, April 19, 2015 at 4:26:44 PM UTC+2, Jesse Liu wrote: Dear All, I'd like to import the data using the neo4j-impot tools. And I used the shell

Re: [Neo4j] Schema#awaitIndexOnline forever?

2015-05-11 Thread Mattias Persson
Yes, Michael is correct, you must await the index to be ONLINE in a separate transaction because the index starts to populate first when closing the transactions. On Monday, May 11, 2015 at 2:35:58 AM UTC+2, Michael Hunger wrote: Florent, can you best raise that as an GitHub issue? How much

Re: [Neo4j] from Neo4j1.9.9 to Neo4j 2.2.0 exception querying Lucene

2015-05-12 Thread Mattias Persson
bug in index handling. In this case I'm going to wait for news about a fix to have a retry in future, I hope soon! Thank you for your work! Rita Il giorno lunedì 20 aprile 2015 09:25:18 UTC+2, Mattias Persson ha scritto: Hi, the IndexHits instance returned isn't putting everything

[Neo4j] Re: neo4j-import non-deterministically corrupts a few node ids

2015-06-11 Thread Mattias Persson
Hi, I'm one of the main authors of the import tool and I find this issue quite interesting. Would you be able to share your dataset with me personally, for the single purpose of trying to find the root cause? On Friday, June 5, 2015 at 5:12:43 AM UTC+2, Zongheng Yang wrote: Hi all, I'm

[Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2015-06-11 Thread Mattias Persson
I think that the exception seen here is hiding the real exception. Basically something goes wrong during startup and so neo4j tries to shut down and back out before throwing that exception out to the user. Shutting down somehow results in this exception and so that gets thrown instead of the

Re: [Neo4j] Re: neo4j-import non-deterministically corrupts a few node ids

2015-06-16 Thread Mattias Persson
, then for users programming using the Java Core API, how should they get these correct internal ids (they only know application-supplied ids). Best, Zongheng On Monday, June 15, 2015 at 5:23:24 AM UTC-7, Mattias Persson wrote: Hello again, I'm quite confident I know what's happening here

[Neo4j] Re: neo4j-import non-deterministically corrupts a few node ids

2015-06-15 Thread Mattias Persson
+2, Mattias Persson wrote: Hi, I'm one of the main authors of the import tool and I find this issue quite interesting. Would you be able to share your dataset with me personally, for the single purpose of trying to find the root cause? On Friday, June 5, 2015 at 5:12:43 AM UTC+2, Zongheng

Re: [Neo4j] What do propertystore.db and propertystore.db.strings store exactly?

2015-07-22 Thread Mattias Persson
overhead. Anyways, that's how 2.2 works. 2.3 will have reduced heap overhead since it will have no object caching like that. Thanks, Zongheng On Tue, Jul 21, 2015 at 2:04 AM Mattias Persson matt...@neotechnology.com wrote: To clarify, it's not serialized String objects. Neo4j stores

Re: [Neo4j] TransactionEventHandler bug?

2015-07-16 Thread Mattias Persson
nodes. Creating a new transaction doesn't help. Sent from my iPhone On Jul 16, 2015, at 04:57, Mattias Persson mat...@neotechnology.com javascript: wrote: Hi Clark, I've converted your groovy code into java and run that in a unit test. As far as I can see all events trigger as they should

Re: [Neo4j] TransactionEventHandler bug?

2015-07-17 Thread Mattias Persson
In the meantime I believe this PR will reduce confusion regarding transaction events: https://github.com/neo4j/neo4j/pull/4991 On Thursday, July 16, 2015 at 11:28:49 PM UTC+2, Mattias Persson wrote: Oh I can reproduce that now. Yup, that's a problem, right there On Thursday, July 16, 2015

Re: [Neo4j] TransactionEventHandler bug?

2015-07-21 Thread Mattias Persson
, Mattias Persson wrote: In the meantime I believe this PR will reduce confusion regarding transaction events: https://github.com/neo4j/neo4j/pull/4991 On Thursday, July 16, 2015 at 11:28:49 PM UTC+2, Mattias Persson wrote: Oh I can reproduce that now. Yup, that's a problem, right

Re: [Neo4j] What do propertystore.db and propertystore.db.strings store exactly?

2015-07-21 Thread Mattias Persson
To clarify, it's not serialized String objects. Neo4j stores the character data, either compacted by being able to use a smaller charset than utf-8/ascii so that fewer bits per character is required, or if string is long by neo4j measures, as plain characters into the

Re: [Neo4j] Re: "Waiting for all transactions to close"

2015-09-07 Thread Mattias Persson
You should try with Neo4j 2.2.5 On Sunday, September 6, 2015 at 8:06:04 PM UTC+2, lauren...@gmail.com wrote: > > Hi Nigel, > > Thanks for the answer. Very much appreciated and always good to get a > confirmation from the expert :) > I'm still investigating the case but progress is very slow

Re: [Neo4j] Re: "Waiting for all transactions to close"

2015-09-08 Thread Mattias Persson
ssage because you are subscribed to a topic in the > Google Groups "Neo4j" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/neo4j/fQx9O3cu0n0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > neo4j+unsub

[Neo4j] Re: Unique constraint not getting respected

2015-10-05 Thread Mattias Persson
Hi, That definitely sounds worrying and unexpected. If you could make available code to reproduce this it would be most helpful. On Sunday, October 4, 2015 at 7:17:06 AM UTC+2, varun kumar wrote: > > I have created a neo4j DB locally and assigned some indices and unique > constraint. > > Here

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-01-27 Thread Mattias Persson
.traverse(node) > .nodes()) > { > > } > > Thanks for the response again. > > > On Wed, Jan 27, 2016 at 2:24 PM, Mattias Persson < > matt...@neotechnology.com> wrote: > >> With the traversal framework, the actual work

[Neo4j] Re: Neo4j Traversal Framework

2016-01-27 Thread Mattias Persson
With the traversal framework, the actual work of traversing happens lazily on every call on hasNext/next on the returned Traverser (in the end Iterator). You can simply stop pulling more paths after a certain number of paths have been extracted. On Monday, January 25, 2016 at 8:31:37 AM UTC+1,

[Neo4j] Re: Can not restart Neo4j after crashed

2016-02-22 Thread Mattias Persson
Recovery is usully quite fast (seconds or minutes). Can you grab a thread dump from when you believe it has hung? My suspicion is something regarding rotation of counts store. On Thursday, February 18, 2016 at 2:48:49 AM UTC+1, 宋鹏 wrote: > > Well, when I came across the crashing issue, I

Re: [Neo4j] Re: Neo4j Traversal Framework

2016-03-14 Thread Mattias Persson
> Hi Mattias Persson, > I need help regarding an error I get when I start server. Can you help me > find the cause? Here is the stacktrace:- > > ERROR [org.neo4j]: Exception when stopping > org.neo4j.index.impl.lucene.LuceneDataSource@2aad7c69 > org.neo4j.index.impl.lucene.LuceneDat

Re: [Neo4j] Importing error: value too big to be represented as java.lang.Integer

2016-03-30 Thread Mattias Persson
Wednesday, March 30, 2016 at 2:26:29 AM UTC-7, Mattias Persson wrote: >> >> Which Neo4j versions is this? This has been fixed and should be working >> fine in 2.3.3 >> >> On Wednesday, March 30, 2016 at 2:43:23 AM UTC+2, Michael Hunger wrote: >>> >>&g

Re: [Neo4j] Importing error: value too big to be represented as java.lang.Integer

2016-03-30 Thread Mattias Persson
Which Neo4j versions is this? This has been fixed and should be working fine in 2.3.3 On Wednesday, March 30, 2016 at 2:43:23 AM UTC+2, Michael Hunger wrote: > > What is your header definition and what your command-line call? > > michael > > Am 30.03.2016 um 01:39 schrieb Zhixuan Wang

[Neo4j] Re: neo4j-import

2016-05-01 Thread 'Mattias Persson' via Neo4j
neo4j-import can currently only add new nodes/relationships and add properties to those new nodes/relationships. It cannot currently update existing entities. On Monday, April 25, 2016 at 1:20:23 PM UTC+2, kincheong lau wrote: > > I have a single csv file with just 3 columns and no header > 1.

[Neo4j] Re: Traversal Performance

2017-01-22 Thread 'Mattias Persson' via Neo4j
Max, `.nodes()` does this, gets the `endNode()` of all paths. Felix, that sounds awfully long, have you run some profiling on this? On Friday, January 20, 2017 at 7:28:35 PM UTC+1, Felix Dietze wrote: > > Hi, > > I'd like to know if its possible to do a faster traversal than in this > stored

[Neo4j] Re: Why does latency from neo4j increases when Database size is in large ?

2016-08-25 Thread 'Mattias Persson' via Neo4j
Perhaps GC? Sounds like far too many threads and things could potentially go a lot faster with fewer threads, something like number of cores on the server or some small multiple of that. On Monday, August 22, 2016 at 5:05:42 PM UTC+2, gitansh...@freecharge.com wrote: > > My database has around

Re: [Neo4j] Neo4j: Ver 3.0.4 delete and re-insert label corruption

2016-09-19 Thread 'Mattias Persson' via Neo4j
Failures to populate index should put the actual error in /schema/index/lucene//failure-message or similar. Can you see what's inside that file? On Friday, September 2, 2016 at 5:31:24 PM UTC+2, Kevin McGinn wrote: > > I deleted the index and attempted to restart. After an hour, I received an

Re: [Neo4j] Way to create Neo4j indexes safely?

2017-01-11 Thread 'Mattias Persson' via Neo4j
CREATE INDEX shouldn't keep a schema lock during the duration of population of the index. Is that what you're seeing here? Perhaps are you creating constraints? On Wednesday, January 11, 2017 at 9:07:42 PM UTC+1, Matias Burak wrote: > > Hi Michael, we might have a lot of operations running at

Re: [Neo4j] Way to create Neo4j indexes safely?

2017-01-12 Thread 'Mattias Persson' via Neo4j
It's strange that it's holding a schema lock, it shouldn't On Thu, Jan 12, 2017 at 3:10 PM, Matias Burak <mbu...@gmail.com> wrote: > Just an index. > > El 12 ene. 2017, a las 11:08, Mattias Persson <matt...@neotechnology.com> > escribió: > > OK cool, and are y

Re: [Neo4j] Way to create Neo4j indexes safely?

2017-01-12 Thread 'Mattias Persson' via Neo4j
> <-[:WAITING_FOR]- LockClient[5626] <-[:HELD_BY]- RWLock[SCHEMA(0), > hash=192551521] > > El jueves, 12 de enero de 2017, 3:39:54 (UTC-3), Mattias Persson escribió: >> >> CREATE INDEX shouldn't keep a schema lock during the duration of >> population of th

[Neo4j] Re: Traversal path questions

2017-01-08 Thread 'Mattias Persson' via Neo4j
1. Have you tried RELATIONSHIP_PATH uniqueness? 2. Are you basing this on type only? You could use https://github.com/neo4j/neo4j/blob/3.1/community/graphdb-api/src/main/java/org/neo4j/graphdb/impl/OrderedByTypeExpander.java perhaps? On Friday, January 6, 2017 at 11:35:38 PM UTC+1, Furkan Göz

Re: [Neo4j] java.lang.OutOfMemoryError: GC overhead limit exceeded when running 'neo4j-admin check-consistency' - Any ideas ?

2017-03-07 Thread 'Mattias Persson' via Neo4j
>>> build_classpath >>> export NEO4J_HOME NEO4J_CONF >>> exec "${JAVA_CMD}" -Xmx124G -Xms124G -cp "${CLASSPATH}" >>> -Dfile.encoding=UTF-8 "org.neo4j.commandline.admin.AdminTool" "$@" >>> } >>&g