Re: [Neo4j] Concerning getting all nodes after a traversal

2011-09-28 Thread Mattias Persson
>> > long startTime = System.currentTimeMillis(); > >> >> > Traverser treeTraverser = root.traverse( > >> >> > Traverser.Order.BREADTH_FIRST, > >> >> > operator.getStopEvaluator(), > >> >> > ReturnableEvaluator.ALL, > >> >> > relationshipType, > >> >> > Direction.OUTGOING); > >> >> > > >> >> > long endTime = System.currentTimeMillis(); > >> >> > > >> >> > System.out.println("\n||TIME NEEDED FOR TRAVERSAL: > >> >> "+(endTime-startTime)+" > >> >> > ms||"); > >> >> > int size = 0; > >> >> > startTime =System.currentTimeMillis(); > >> >> > Iterable nodeCollection = > >> >> treeTraverser.getAllNodes(); > >> >> > endTime = System.currentTimeMillis(); > >> >> > > >> >> > System.out.println("\n||TIME NEEDED TO GET NODES: > "+(endTime-startTime)+" > >> >> > ms||"); > >> >> > > >> >> > > >> >> > --- > >> >> > Console output::: > >> >> > > >> >> > ||TIME NEEDED FOR TRAVERSAL: 63 ms|| > >> >> > > >> >> > ||TIME NEEDED TO GET NODES: 56875 ms|| > >> >> > > >> >> > > >> >> > > >> >> > Thank you so much, > >> >> > > >> >> > Dan > >> >> > > >> >> > > > > > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] threads on embeddedGraphDb

2011-09-28 Thread Mattias Persson
ndexWriter.java:1213) > at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1149) > at > > org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:590) >... 8 more > > Thx for any ideas. > ciao, st.p. > __

Re: [Neo4j] InvalidRecordException: Record[1983624] not in useRecord[1983624] not in use

2011-09-28 Thread Mattias Persson
ion.(IndexEvaluation.java:98) > at EntryPoint.main(EntryPoint.java:20) > > -- > -- > mobile: +49 (0)176 6433 2481 > > Skype: +49 (0)6131 / 4958926 > > Skype: rene.pickhardt > > www.rene-pickhardt.de > <http://www.beijing-china-blog.com> > ___ &g

Re: [Neo4j] add property to all relationships

2011-09-27 Thread Mattias Persson
mmunity Discussions mailing list archive at > Nabble.com. > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > _

Re: [Neo4j] Has been blocked when i get the node's property

2011-09-25 Thread Mattias Persson
at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com __

Re: [Neo4j] Neo4j Write Performance

2011-09-24 Thread Mattias Persson
4, and it > >> will > >> speed up the RDF insertion considerably! > >> > > > > Is support for optimistic locking and deferred writes planned for an > > upcoming release? > > > > Thanks. > > > > - James > > > > -- > > View this message in context:

Re: [Neo4j] performance guide

2011-09-24 Thread Mattias Persson
> Best regards > >> > >> Linan Wang > >> ___ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user > > > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Best regards > > Linan Wang > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Querying multivalued properties

2011-09-23 Thread Mattias Persson
_ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailm

Re: [Neo4j] Behaviour of LuceneIndex vs. BatchInserterIndex for multiple adds

2011-09-18 Thread Mattias Persson
gt; LuceneIndex. Are there plans to do so? > > From my perspective, it would be a cooler thing to have the > BatchInserterIndexes behaviour within the LuceneIndex to. Do you plan > something like this? > > Best regards, > Benjamin >

Re: [Neo4j] Behaviour of LuceneIndex vs. BatchInserterIndex for multiple adds

2011-09-18 Thread Mattias Persson
gt; LuceneIndex. Are there plans to do so? > > From my perspective, it would be a cooler thing to have the > BatchInserterIndexes behaviour within the LuceneIndex to. Do you plan > something like this? > > Best regards, > Benjamin >

Re: [Neo4j] Recommended way to index and lookup paired properties

2011-09-18 Thread Mattias Persson
t;> Aseem >> > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Rebuilding Lucene index

2011-09-18 Thread Mattias Persson
a:76) > > >at > > > > > > org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:116) > > >at > > > > > > org.neo4j.kernel.IndexManagerImpl.getOrCreateIndexConfig(IndexManagerImpl.java:178) > > >at >

Re: [Neo4j] Rebuilding Lucene index

2011-09-18 Thread Mattias Persson
eo4j.org/msg06100.html, I >>> decided to >>> > delete the index folder and it was solved. However I still need to >>> rebuild >>> > the index and have no clue on how to do this, have looked on the docs and >>> > cannot really find either. Could a

Re: [Neo4j] Index entry removal after relationship deletion

2011-09-07 Thread Mattias Persson
> > > > Linan Wang > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] multiple lucene index in a transaction doesn't work?!

2011-09-07 Thread Mattias Persson
tion.xaframework.XaResourceHelpImpl.rollback(XaResourceHelpImpl.java:111) >at > > org.neo4j.kernel.impl.transaction.TransactionImpl.doRollback(TransactionImpl.java:533) >at > org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:685) >... 9 more > > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/multiple-lucene-index-in-a-transaction-doesn-t-work-tp3315601p3315601.html > Sent from the Neo4j Community Discussions mailing list archive at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] which shortestpath algo is used in the algofactory shortestpath?

2011-08-26 Thread Mattias Persson
, so it would be great if I knew :) > > > > Thanks! > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > ___ > Neo4j mailing list > User@lists.neo4j.org >

Re: [Neo4j] HA consistency

2011-08-26 Thread Mattias Persson
w a snapshot of the latest or near-latest graph. > > ___________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Mattias Persson
[] > > > > Just to check before we dig deeper, are you certain you don't have > another > > server process running? > > > > Jim > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > _

Re: [Neo4j] All simple paths algorithm

2011-08-25 Thread Mattias Persson
/ShortestPath.java > > Enjoy! > > Jim > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com __

Re: [Neo4j] Best way to sort and Lucene result -reversed- sorting

2011-08-24 Thread Mattias Persson
l > Sent from the Neo4j Community Discussions mailing list archive at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > --

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Mattias Persson
; Just to check before we dig deeper, are you certain you don't have another >> server process running? >> >> Jim >> ___ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >>

Re: [Neo4j] Replication corner cases?

2011-08-23 Thread Mattias Persson
2011/8/23 Tuure Laurinolli > > On Aug 23, 2011, at 17:30 , Mattias Persson wrote: > > >> Hm, actually client X can't read anything touched by T from master, > since > >> slave A will have taken write locks on things it modifies, and the write > >> loc

Re: [Neo4j] Replication corner cases?

2011-08-23 Thread Mattias Persson
ty problems should occur. > 2PC doesn't work well in a distributed environment. Some sort of 3PC could do the trick and something I think will be implemented in the future. > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mat

Re: [Neo4j] Memory overflow while creating big graph

2011-08-23 Thread Mattias Persson
; > The code I'm using to create the initial database is attached, the method > that should be looked at is: createDB. > > -- > Thanks, > Jose Vinicius Pimenta Coletto > > _______ > Neo4j mailing list > User@lists.neo4j

Re: [Neo4j] Very Slow Transaction only on Windows

2011-08-23 Thread Mattias Persson
; // If we does not use transaction utility method, this > can be > >>> minutes or hours... > >>> assertTrue(2000>time); > >>> } > >>> > >>> > https://github.com/keiono/blueprints-graph-cytoscape/blob/master/src/test/java/org/cytoscape/blueprints/implementations/Neo4jTest.java > >>> > >>> where net is a wrapper object for Cytoscape graph model, and addNode() > >>> method simply calles graph.addVertex() method in Blueprints' Graph > >>> API. This test passes in less than a second on my MacBook, but on > >>> Windows PC, it takes 1+ minutes to finish. Seems transaction is not > >>> working correctly on Windows, but I do not understand why it happens > >>> only on Windows. > >>> > >>> Could you give me any suggestions to solve this Windows-dependent > problem? > >>> > >>> Thanks, > >>> > >>> Kei > >>> Cytoscape Core Developer > >>> > >>> -- > >>> Keiichiro Onohttp://www.keiono.net/ > >>> ___ > >>> Neo4j mailing list > >>> User@lists.neo4j.org > >>> https://lists.neo4j.org/mailman/listinfo/user > >> > >> ___ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user > >> > >> > >> > >> -- > >> Keiichiro Onohttp://www.keiono.net/ > >> ___ > >> Neo4j mailing list > >> User@lists.neo4j.org > >> https://lists.neo4j.org/mailman/listinfo/user > > > > > > > > -- > Keiichiro Onohttp://www.keiono.net/ > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Replication corner cases?

2011-08-23 Thread Mattias Persson
e. > > It's ok to read things that are held by write locks, reads will not block. -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Replication corner cases?

2011-08-23 Thread Mattias Persson
ted, can it rejoin the cluster, since its state has diverged > from that of the cluster? > > If a machine starts up and sees that it has diverged from the cluster (represented by the current master) it will ask the master for a fresh database and start from there... keeping the diverged db arou

Re: [Neo4j] Neo4j index performance using Lucene

2011-08-23 Thread Mattias Persson
e sped up somehow? Or will I always be served better performance > wise using a HashMap for such cases where I have a large amount of single > queries? > > Thank you and best regards, > >Erik > > > ___ > Neo4j mai

Re: [Neo4j] Checking for unfinished transactions

2011-08-23 Thread Mattias Persson
ason > (unexpected errors) disobeying > http://wiki.neo4j.org/content/Neo_Mistakes#Transactions_usage. I want > to cleanup transactions on every new client connection so that every > connection starts clean. > > Thanks, > Felipe > ___ &g

Re: [Neo4j] Which one would perform better traversal or lucene index look up

2011-08-23 Thread Mattias Persson
__ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] upgrade 1.4 -> 1.4.1 losses indexes

2011-08-22 Thread Mattias Persson
__ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] HA starting issue

2011-08-18 Thread Mattias Persson
00M is too small and I increased to 2G and restart the machine and it is running fine. How big is the min requirement for memory in this configuration? > also, the pull interval you set is 10sec. However, i found it update across all other machine almost instantly. any comment? > Regards

Re: [Neo4j] cant use index after commit

2011-08-12 Thread Mattias Persson
neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] java.lang.UnsupportedOperationException

2011-08-11 Thread Mattias Persson
___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Graph database index | query across indices

2011-08-11 Thread Mattias Persson
; From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] > On Behalf Of Mattias Persson > Sent: Wednesday, August 10, 2011 3:31 PM > To: Neo4j user discussions > Subject: Re: [Neo4j] Graph database index | query across indices > > Compound query between two indices isn't p

Re: [Neo4j] Graph database index | query across indices

2011-08-10 Thread Mattias Persson
dTelecomCatNode, null ); > > Problem I see with this approach is, I would end up indexing same field(or > key) in two different indices (Product node and Product relationship). This > might hit the performance.* Can there be a better approach

Re: [Neo4j] nested transactions "feature" ?

2011-08-10 Thread Mattias Persson
; >> >long start = System.nanoTime(); > > >> > rootTx.finish(); > > >> >long end = System.nanoTime(); > > >> >System.out.println( "tx.finish() time=" + number( end - > > start &g

Re: [Neo4j] length of property names

2011-08-10 Thread Mattias Persson
stion: what is the performance impact of the length of a property > name? > Niels > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacke

Re: [Neo4j] finding top 10 shortest path

2011-08-09 Thread Mattias Persson
to find a new algorithm. > Thank you again. > > > On Tue, Aug 9, 2011 at 1:36 PM, Mattias Persson > wrote: > > > Cool, I just though it might be easy... but I can be mistaken of course. > I > > haven't really got the time to look more into it a.t.m. but

Re: [Neo4j] A big graph for test

2011-08-09 Thread Mattias Persson
> Thank you all > > >> ___ > > >> Neo4j mailing list > > >> User@lists.neo4j.org > > >> https://lists.neo4j.org/mailman/listinfo/user > > > > > > _

Re: [Neo4j] finding top 10 shortest path

2011-08-09 Thread Mattias Persson
l work on this code and any inform you and all the list in the case of > success. > I you've got some idea please let me know. > Thank you > > > > On Tue, Aug 9, 2011 at 12:32 PM, Mattias Persson > wrote: > > > Oh ok, now I understand what you mean. The impl

Re: [Neo4j] finding top 10 shortest path

2011-08-09 Thread Mattias Persson
mean a path that is shorter than all paths in the graph except the one that > was the first hit of A* algorithm. I hope I could express my meaning well > (my English is not really good!) > Thank you again. > > > > On Tue, Aug 9, 2011 at 12:06 AM, Mattias Persson > wrote: &g

Re: [Neo4j] finding top 10 shortest path

2011-08-08 Thread Mattias Persson
__ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Multiple threads sharing a transaction

2011-08-08 Thread Mattias Persson
n contained in this email message to or > by anyone other than the intended recipient is strictly prohibited. Any > views expressed in this message are those of the individual sender, except > where the sender specifically states them to be the views of the Company. > ___ > Ne

Re: [Neo4j] Node#getRelationshipTypes

2011-08-07 Thread Mattias Persson
gt; > > Oh, confused this thread with store layer changes for type/direction > > of relationships. This fruit in this thread is pretty low hanging. > > > > Den lördagen den 6:e augusti 2011 skrev Mattias > > Persson: > > > I would not consider this low hanging fru

Re: [Neo4j] Node#getRelationshipTypes

2011-08-06 Thread Mattias Persson
Oh, confused this thread with store layer changes for type/direction of relationships. This fruit in this thread is pretty low hanging. Den lördagen den 6:e augusti 2011 skrev Mattias Persson: > I would not consider this low hanging fruit btw > > Den onsdagen den 3:e augusti 2011 sk

Re: [Neo4j] Node#getRelationshipTypes

2011-08-06 Thread Mattias Persson
the >> > > > incoming side. >> > > > >> > > > I will list the steps to take here for the outgoing side (the incoming >> > side >> > > > is almost identical). >> > > > >> > > > From the Nod

Re: [Neo4j] Node#getRelationshipTypes

2011-08-03 Thread Mattias Persson
011 um 18:59 schrieb Niels Hoogeveen: > > > > > > > > > > > > > > > > > > > > > > > Good point. > > > > > > > > It could for all practical purposes even be > > > Iterable > > > > > >

Re: [Neo4j] How to cascade delete all connected nodes from neo4j shell?

2011-08-03 Thread Mattias Persson
Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Node#getRelationshipTypes

2011-08-03 Thread Mattias Persson
proper solution when nodes are densely connected. > So there > > > > is no general solution for this question yet. > > > > > > Niels > > > > > > > > > > > >> From: j...@neotechnology.com > > > > > >>

Re: [Neo4j] Composable traversals

2011-08-03 Thread Mattias Persson
gt; > > > > > > > My take on it is to make Element (which is a superinterface of > > > Node) > > > > > into a > > > > > > > Traverser. > > > > > > > > > > > > > > Traverser is basically another name for It

Re: [Neo4j] Composable traversals

2011-08-02 Thread Mattias Persson
iption) > > > > > > > > > > My take on it is to make Element (which is a superinterface of > Node) > > > into a > > > > > Traverser. > > > > > > > > > > Traverser is basically another name for Iterable. > > > &g

Re: [Neo4j] Node#getRelationshipTypes

2011-08-02 Thread Mattias Persson
> > >> Neo4j mailing list > > >> User@lists.neo4j.org > > >> https://lists.neo4j.org/mailman/listinfo/user > > > > > > ___ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] "body" returned from batch rest call inconsistent

2011-08-02 Thread Mattias Persson
s it a > bug? > > Many thanks! > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker,

Re: [Neo4j] Composable traversals

2011-07-30 Thread Mattias Persson
ning a single Path, which contains a single > > > path-element, the Node/Element itself. > > > > > > Composing traversals would entail the concatenation of the paths > returned > > > with the paths supplied, so when we ask for the parents of all our &g

Re: [Neo4j] Pagination in Embedded

2011-07-30 Thread Mattias Persson
gIterator.html > > Jim > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com __

Re: [Neo4j] How to cascade delete all connected nodes from neo4j shell?

2011-07-30 Thread Mattias Persson
all-connected-nodes-from-neo4j-shell-tp3211267p3211267.html > Sent from the Neo4j Community Discussions mailing list archive at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/l

Re: [Neo4j] Composable traversals

2011-07-29 Thread Mattias Persson
t; Node > > Niels > > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Eliminating Duplicate Path returned by shortestPath function?

2011-07-29 Thread Mattias Persson
in that path are not. But > I need only unique path with unique nodes so that path is not repeated > again. > Any ideas on how to achieve that? > > On Fri, Jul 29, 2011 at 1:25 PM, Mattias Persson > wrote: > >> It returns unique paths considering both nodes and relation

Re: [Neo4j] Eliminating Duplicate Path returned by shortestPath function?

2011-07-29 Thread Mattias Persson
en I execute the function it returns >A-->I1<--B many times which unnecessarily forces me to process duplicate > entries. > How to solve this problem? > > Regards, > > > > -- > Manav Goel > ___ > Neo4j mailin

Re: [Neo4j] Pagination in Embedded

2011-07-29 Thread Mattias Persson
__ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] help for Traverser

2011-07-24 Thread Mattias Persson
_ONE,ReturnableEvaluator.ALL_BUT_START_NODE, > rel2, dir2).iterator() > while(q2.hasNext) > println(q2.next) > } > } > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/

Re: [Neo4j] shortestPath slower than it could be

2011-07-24 Thread Mattias Persson
arted > > > (one)-->(two) 755 ms > > > search started > > > (three)<--(one) 0 ms > > > search started > > > (two)<--(one) 0 ms > > > search started > > > (one)-->(three) 804 ms > > > search started > > > (o

Re: [Neo4j] shortestPath slower than it could be

2011-07-24 Thread Mattias Persson
gt; Path from three to one: false 0 ms > Path from two to one: false 0 ms > class org.bdb.BerkEnv$1 shutting down complete 152 ms > > and on cold: > Path from one to three: true 10 ms > Path from one to two: true 10 ms > Path from three to one: false 0 ms > Path from two to one:

Re: [Neo4j] shortestPath slower than it could be

2011-07-23 Thread Mattias Persson
ke the use case here obsolete] > > PS: clearly all the text I wrote here would benefit from being represented > by a graph, just think about all those grouping with autohiding the ie. > "[]" > and all kinds of stuff... heh > ___ > Neo4j mailing list > User@

Re: [Neo4j] NoSuchElementException

2011-07-22 Thread Mattias Persson
>>>>> at >>>>> org.neo4j.index.impl.lucene.IdToEntityIterator.getSingle(IdToEntityIterator.java:88) >>>>> ~[working_graphGen.jar:na] >>>>> at >>>>> org.neo4j.index.impl.lucene.IdToEntityIterator.getSingle(IdToEntityIter

Re: [Neo4j] Number of properties on a PropertyContainer

2011-07-22 Thread Mattias Persson
j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
cal on my dataset is to keep it updated at runtime, that's why > i need to add and remove nodes, and consequently their relationships. > How can i solve that issue? > > Best regards, > Joel Filipe Antunes Cordeiro > jkorde...@gmail.com > j...@student.dei.uc.pt > > >

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
n 1.4M04. > > Joel Filipe Antunes Cordeiro > jkorde...@gmail.com > j...@student.dei.uc.pt > > > 2011/7/21 Mattias Persson > > > Was your data inserted with the BatchInserter on 1.4.M05 or 1.4.M04 or > > similar? > > > > 2011/7/21 Joel Cordeiro > > &g

Re: [Neo4j] org.neo4j.kernel.impl.nioneo.store.InvalidRecordException while trying to delete relationships of a node, followed by a delete of the node

2011-07-21 Thread Mattias Persson
t;finally >{ >t.finish(); >} > > Can anyone figure out a reason for it? > I already read questions with similar stack traces on the mailing list, but > didn't found a solution to this. > > Best regards, > Joel Filipe Antunes Cordeiro

Re: [Neo4j] Hyperedges and Objects

2011-07-21 Thread Mattias Persson
> >>>> To: user@lists.neo4j.org > > >>>> Subject: [Neo4j] Hyperedges and Objects > > >>>> > > >>>> Hi, > > >>>> > > >>>> is there a possibility to store hyper edges in Neo4j? Is there a > plan to > > >>>> implement this? > > >>>> > > >>>> Will Neo4j get the ability to store complex types in addition to > > >>>> primitve data types for properties of nodes and relationships? > > >>>> > > >>>> -- > > >>>> Best regards > > >>>> > > >>>> Norbert Tausch > > >>>> > > >>>> ___ > > >>>> Neo4j mailing list > > >>>> User@lists.neo4j.org > > >>>> https://lists.neo4j.org/mailman/listinfo/user > > >>> > > >>> ___ > > >>> Neo4j mailing list > > >>> User@lists.neo4j.org > > >>> https://lists.neo4j.org/mailman/listinfo/user > > >> ___ > > >> Neo4j mailing list > > >> User@lists.neo4j.org > > >> https://lists.neo4j.org/mailman/listinfo/user > > > > > > ___ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Fulltext Query across fields

2011-07-19 Thread Mattias Persson
.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] REST Batch: failed to insert empty array as a node property

2011-07-18 Thread Mattias Persson
o an empty boolean array or something. > > You mean storing an empty boolean[] on the entity? It could possibly work in a REST environment, but not embedded where if you added an empty int[] you'd get back a boolean[] all of a sudden. > /jake > > > > ______

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-18 Thread Mattias Persson
Discussions mailing list archive at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _

Re: [Neo4j] use one index per key or one index for all keys?

2011-07-17 Thread Mattias Persson
; > Many thanks! > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread Mattias Persson
ts.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread Mattias Persson
iling list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] NoSuchElementException

2011-07-17 Thread Mattias Persson
eo4j.index.impl.lucene.IdToEntityIterator.getSingle(IdToEntityIterator.java:32) >>> ~[working_graphGen.jar:na] >>> >>> I looked up and found that this is a bug and has been fixed. I was >>> wondering if the fix has been incorporated in the latest

Re: [Neo4j] Index returns all nodes for value="undefined"!

2011-07-17 Thread Mattias Persson
; Thanks, > > Aseem > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] How can you have transactions with Lucene?

2011-07-17 Thread Mattias Persson
tp3176918p3176918.html > Sent from the Neo4J Community Discussions mailing list archive at > Nabble.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Ma

Re: [Neo4j] Unique Constaint on Index

2011-07-14 Thread Mattias Persson
Started a support discussion about this: http://help.neo4j.org/discussions/questions/8-re-neo4j-unique-constaint-on-index 2011/7/14 Mattias Persson > Creating a support discussion for this. > > > 2011/7/7 Michael Hunger > >> I'd second that for 1.5 >> >&

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-14 Thread Mattias Persson
be the best > solution,otherwise, we need wrapper Lucene api asFilteredQuery or so. I just > take a glance at Neo4j and Lucene api,no more help just now. > > > Regards, > > Edgar > At 2011-07-13 21:28:35,"Mattias Persson" > wrote: > > >Quite possibly! Yun

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

2011-07-13 Thread Mattias Persson
http://help.neo4j.org/discussions/questions/7-re-neo4j-how-to-indexlookup-from-an-array-property 2011/7/14 Mattias Persson > I think that indexing values other than strings are impossible through the > REST API and that's a known shortcoming I hope will be fixed pretty soon. &

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

2011-07-13 Thread Mattias Persson
ch value > separately sounds killer. Any pointers on how to do this via the REST API? > Still not clear to me what format URL I should be using. > > Thanks! > > Aseem > > On Wed, Jul 13, 2011 at 5:50 PM, Mattias Persson > wrote: > > > 2011/7/13 Michael Hunger > >

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

2011-07-13 Thread Mattias Persson
oded JSON, because for simple strings, quotes don't go into the > URL. > > So is this even possible? > > > > Help appreciated! Thanks much. > > > > Aseem > > ___ > > Neo4j mailing list > > User@lists.neo4j.org > > https:

Re: [Neo4j] Constraints on index key names?

2011-07-13 Thread Mattias Persson
x27;node_auto_index' and 'relationship_auto_index' are used by the auto > indexing subsystem. > > On Wed, Jul 13, 2011 at 8:35 AM, Mattias Persson > wrote: > > > Yes, the neo4j integration doesn't impose any additional restrictions > other > > than those (if any) of L

Re: [Neo4j] Constraints on index key names?

2011-07-13 Thread Mattias Persson
ing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-13 Thread Mattias Persson
> -Original Message- > From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] > On Behalf Of Mattias Persson > Sent: Wednesday, July 13, 2011 9:05 AM > To: Neo4j user discussions > Cc: h...@neo4j.org > Subject: Re: [Neo4j] how setup lucene fulltext

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

2011-07-13 Thread Mattias Persson
indexOf('test')!=-1" > >> }, "max depth" : 1 } > >> > >> I think neo4j ignores the filter and returns all relationships. > >> > >> > >> -- > >> View this message in context: > http://neo4j-user-li

Re: [Neo4j] how setup lucene fulltext search filter

2011-07-13 Thread Mattias Persson
__ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] is it possible to delete relationship types?

2011-07-10 Thread Mattias Persson
n > Many thanks! > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _

Re: [Neo4j] clean database / unit tests

2011-07-08 Thread Mattias Persson
__ > > > > Neo4j mailing list > > > > User@lists.neo4j.org > > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > ___ > > > Neo4j mailing list > > >

Re: [Neo4j] Is there (or not) A PATH between two nodes?

2011-07-08 Thread Mattias Persson
ent" > algorithms in both cases? Can you refresh my memory?) > > Thank you for your help. > Best regards, > -- > Lmhelp > > _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4

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

2011-07-07 Thread Mattias Persson
neoclipse or neo4j-shell are terribly slow when working with > > these > > >>>> nodes. In the shell I would expect a `cd` to be very fast, > > >>>> much like selecting via a rowid in a standard DB. Instead, I usually > > see > > >>>> several seconds d

Re: [Neo4j] typo in Expander interface

2011-07-07 Thread Mattias Persson
gt; _______ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

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

2011-07-06 Thread Mattias Persson
Just noticed that "ls" shell reads all relationships before displaying them... I'll fix this tomorrow. 2011/7/6 Mattias Persson > > > 2011/7/6 Jim Webber > >> Hi Rick, >> >> > Are you thinking maybe of lazily loading relationships in 1.5? T

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

2011-07-06 Thread Mattias Persson
Maybe there's some issue with the shell only. > > Jim > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology

Re: [Neo4j] Possibility of extending Zookeeper features to App Server

2011-07-06 Thread Mattias Persson
going to work or what is a preferred > architecture? > > Regards, > > Brendan > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt

Re: [Neo4j] neo4j + RDF + SPARQL or non-RDF?

2011-07-06 Thread Mattias Persson
.com. > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Multiple sessions

2011-07-05 Thread Mattias Persson
t; > > > > ); > > > ...Add all my data using transactions > > > graphDb.shutdown(); > > >** ** > > > Then later opening a new session and accessing that database and indices > **** > > > I've already made. Is that possible (I didn't see anything covering that >

<    1   2   3   4   5   6   7   8   9   10   >