[Neo4j] using labels with legacy indexes

2014-06-22 Thread Clark Richey
. Is this supported? I don’t see any easy way to do this. Thanks! Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:810D8E46-10CA-4A53-8D78-F40472AF41A7] Need immediate assistance? Please try: Cate Downing, Assistant

[Neo4j] graph pattern match via java api

2014-06-23 Thread Clark Richey
a traversal. Thanks for the help! Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:3964AC71-586A-4804-B9D4-F8437706830A] Need immediate assistance? Please try: Cate Downing, Assistant Beth Price, Assistant c

Re: [Neo4j] graph pattern match via java api

2014-06-23 Thread Clark Richey
I could send cypher across the java api but my understanding is that it is still significantly slower at scale than using the Java api directly. Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:C07B6741-30F5-43BE-A839

Re: [Neo4j] graph pattern match via java api

2014-06-24 Thread Clark Richey
the other props and rels You might also lookup columbus and check From node to columbus It is a local traversal then should be fast Sent from mobile device Am 24.06.2014 um 03:51 schrieb Clark Richey cl...@factgem.com: All, I am writing server side extensions to neo4J. I need to be able

Re: [Neo4j] graph pattern match via java api

2014-06-24 Thread Clark Richey
Yes, faceted search is my primary use case. Right now we are mostly modeling things like income and city as node attributes with the legacy index. I will run some tests doing the traversal and see how it performs. Clark Richey 240-252-7507 On Jun 24, 2014, at 7:50, Michael Hunger

Re: [Neo4j] Neo4j Node.js what to use for users logging in

2014-06-24 Thread Clark Richey
Any thoughts here? I too am interested to hear how people are storing non-graph data like users. Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:7B715452-1997-4D07-B9EF-F03ECCB0834A] Need immediate assistance

Re: [Neo4j] graph pattern match via java api

2014-06-24 Thread Clark Richey
relationship of type address to node with city, how can I get paginated access to all city values, sorted by the city property? Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:C1F651FF-2D4A-4D09-9B5A-1F9B56D2922C] Need

Re: [Neo4j] Neo4j Node.js what to use for users logging in

2014-06-24 Thread Clark Richey
complexity of another data store just to store user information. Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:10FF91D5-BA0D-43C7-B968-C2227A204EC0] Need immediate assistance? Please try: Cate Downing, Assistant

[Neo4j] Performance of legacy vs schema indexes

2014-06-25 Thread Clark Richey
If I have a node with a identifying property, eg username, which index will allow me to more quickly find that specific node, the new schema indexes or the legacy indexes? Clark Richey, CTO FactGem 240-252-7507tel:240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid

Re: [Neo4j] What are the plans for mixed-type arrays

2014-07-09 Thread Clark Richey
Just to chime in, more complex types such as maps would be immensely valuable! Sent from my iPhone On Jul 9, 2014, at 17:46, Michael Hunger michael.hun...@neotechnology.com wrote: There are no plans for that, rather for more complex data types at some point (maps, nested documents) but

Re: [Neo4j] What are the plans for mixed-type arrays

2014-07-09 Thread Clark Richey
Yes. We do the same thing and it is a bit of a pain. It's what almost made us go with Titan instead Sent from my iPhone On Jul 9, 2014, at 20:31, Alan Robertson al...@unix.sh wrote: On 7/9/2014 5:44 PM, Clark Richey wrote: Just to chime in, more complex types such as maps would

Re: [Neo4j] insert will impact read? why? Any methods?

2014-07-10 Thread Clark Richey
It sounds like somewhere in your java API you aren't closing a transaction. Sent from my iPhone On Jul 10, 2014, at 4:58, Handy yu handy198...@gmail.com wrote: Hi, I use embedded graph, and new wrappingneoserverbootstrapper. I insert data into neo4j embedded graph with java core api,

[Neo4j] running neo4j on large memory machines

2014-08-16 Thread Clark Richey
and willing to cache as much as possible in memory. We so a lot of faceted searches with counts. If you can recommend better settings I would be much obliged. Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:B01C1377-ED24-4820

Re: [Neo4j] neo console

2014-08-17 Thread Clark Richey
to your db Then you can connect via bin/neo4j-shell Sent from mobile device Am 16.08.2014 um 21:22 schrieb Clark Richey cl...@factgem.com: All, We are running neo embedded. Is there a way to enable the console while running embedded without having to create a new clustered instance? Thanks

Re: [Neo4j] neo console

2014-08-17 Thread Clark Richey
endpoint? /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Open Data- @mapillary Open Source - @neo4j Open Future - @coderdojo On Sun, Aug 17, 2014 at 4:57 PM, Clark Richey clark.ric...@gmail.com

[Neo4j] Execution Guard

2014-08-18 Thread Clark Richey
! Clark Richey, CTO FactGem 240-252-7507tel://240-252-7507 cl...@factgem.commailto:cl...@factgem.com [cid:E2105018-05CE-4B5E-8992-F2E8614FA086] Need immediate assistance? Please try: Cate Downing, Assistant Beth Price, Assistant c...@factgem.commailto:c

Re: [Neo4j] Execution Guard

2014-08-19 Thread Clark Richey
/console/GuardingRequestFilter.java#L26) Cheers, Stefan 2014-08-18 21:00 GMT+02:00 Clark Richey cl...@factgem.com: We are running neo 2.04 Enterprise embedded. I was looking for a way to limit query times and found the execution guard information here..http://grokbase.com/t/gg/neo4j/132tqdcmvg

Re: [Neo4j] Execution Guard

2014-08-19 Thread Clark Richey
running 2.0.4 --  Clark Richey Sent with Airmail On August 19, 2014 at 8:40:31 AM, Stefan Armbruster (ml...@armbruster-it.de) wrote: Sorry for the mistake, of course you need to set execution_guard_enabled=true. I've created a minimal viable example using groovy to demo how to get access

Re: [Neo4j] Speed test massive insert of random data improvements

2014-08-29 Thread Clark Richey
While I can't share the code I can say that we have our our batch insert process. It actually does searches first to determine if we are updating or creating a given node. We run batch inserts of about 40-50k nodes pet tx. We are loading several thousand of nodes per second. Overall times vary

Re: [Neo4j] Java Heap Space error but correctly set in the Neo4jShell.bat

2014-09-18 Thread Clark Richey
According to the screenshot you don't give it 30G of ram. You only provide 3G. Is that your intent? Sent from my iPhone On Sep 18, 2014, at 02:51, 'Curtis Mosters' via Neo4j neo4j@googlegroups.com wrote: Well somehow the behaviour of the Shell is odd. I imported 76 Mio lines without

Re: [Neo4j] Set time out for embedded Neo4j server in java program

2014-10-16 Thread Clark Richey
(DependencyResolver.java:92) --  Clark Richey Sent with Airmail On October 16, 2014 at 11:33:02 AM, Mark Findlater (mark.findla...@googlemail.com) wrote: I think it (org.neo4j.kernel.guard.Guard) will be in neo4j-kernel-2.1.5.jar (it's in my neo4j-kernel-2.1.3.jar). M On Thursday, 16 October 2014 16:26:53

Re: [Neo4j] Set time out for embedded Neo4j server in java program

2014-10-16 Thread Clark Richey
Yeah..I seem to have the right jars. Again, the Guard is in the 2.1.5 jar that I have. But the dependency doesn’t resolve using that code. --  Clark Richey Sent with Airmail On October 16, 2014 at 2:22:47 PM, Mark Findlater (mark.findla...@googlemail.com) wrote: Hopefully someone who knows

Re: [Neo4j] bundling the neo4j console with a webapp

2014-10-24 Thread Clark Richey
? Is the neo4j server enabled when running in embedded mode? esp. when started via spring data .. Thanks Am Freitag, 24. Oktober 2014 20:18:11 UTC+2 schrieb Clark Richey: http://neo4j.com/docs/stable/shell-starting.html From: Bert Radke tase...@gmail.com javascript: Reply-To: ne

[Neo4j] NotNotFoundException race condition

2014-11-22 Thread Clark Richey
happening in this process anyways). Can someone PLEASE explain what is happening here? -- Clark Richey Chief Technology Officer e: cl...@factgem.com p: 240.252.7507 This message and any included attachments are property of FactGem and its affiliates, and are intended only for the addressee(s

Re: [Neo4j] NotNotFoundException race condition

2014-11-25 Thread Clark Richey
, not community. Is that correct? On Sat, Nov 22, 2014 at 5:18 PM, Clark Richey cl...@factgem.com wrote: All, We have a highly concurrent custom bulk loader. When we run it using the community version of Neo4j 2.1.5 it executes flawlessly. When we run it against the enterprise version we see

[Neo4j] Spring Data with neo4j and transactions

2014-12-16 Thread Clark Richey
. There isn’t even an org.springframework.data.neo4j.transaction package provided in any of the Spring data for neo4j libraries that I have found. Are the docs out of date? Do I need a different approach? Clark Richey, CTO FactGem 240-252-7507 cl...@factgem.commailto:cl

Re: [Neo4j] Re: Spring Data with neo4j and transactions

2014-12-16 Thread Clark Richey
I have also tried changing my original calls (where I use the neo api directly) from databaseSErvice.beginTx() to Neo4jTemplate.getGraphDatabase().beginTx(). However, Neo4jTemplate.getGraphDatabase() is returning null. On Tue, Dec 16, 2014 at 1:11 PM, Clark Richey clark.ric...@gmail.com wrote

Re: [Neo4j] Re: Spring Data with neo4j and transactions

2014-12-16 Thread Clark Richey
but rather must explicitly open a transaction for the SDN methods, just as I do when using the native neo4j apis. Is this to be expected? On Tue, Dec 16, 2014 at 2:09 PM, Clark Richey clark.ric...@gmail.com wrote: I have also tried changing my original calls (where I use the neo api directly

Re: [Neo4j] Re: Spring Data with neo4j and transactions

2014-12-17 Thread Clark Richey
you say that you are not able to use them, what exactly do you mean? M On Tuesday, 16 December 2014 21:11:31 UTC, Clark Richey wrote: OK. Disregard my previous two emails. That issue had to do with a spring configuration that was getting confused between test and non-test running

Re: [Neo4j] Re: Spring Data with neo4j and transactions

2014-12-17 Thread Clark Richey
to create the JTA-PTM for spring. Michael On Tue, Dec 16, 2014 at 7:11 PM, Clark Richey clark.ric...@gmail.com wrote: OK. That helped but I still seem to be having issues where nodes created directly via the neo4j java APIs can't see the nodes created via SDN and vice versa

Re: [Neo4j] Re: Spring Data with neo4j and transactions

2014-12-17 Thread Clark Richey
(JTA-TM wrapping the neo4j Spring TM) On Wed, Dec 17, 2014 at 2:36 PM, Clark Richey clark.ric...@gmail.com wrote: Yes I think that is what is happening. Spring is using the Neo transaction manager which is why I have to manually start transactions, even for SDN repository finders, Instead

[Neo4j] read without transaction

2015-01-21 Thread Clark Richey
Will the upcoming 2.2 release support reading without a locking transaction? Thanks! - Clark Richey -- 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] read without transaction

2015-01-21 Thread Clark Richey
write transactions. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 21 Jan 2015, at 22:37, Clark Richey clark.ric...@gmail.com wrote: Will the upcoming 2.2 release support reading without a locking transaction? Thanks! - Clark Richey

Re: [Neo4j] Java 8 and Neo4j

2015-02-01 Thread Clark Richey
We have been using java 8 with neo4j in production for over six months with no issues. Sent from my iPhone On Feb 1, 2015, at 07:34, Glenn Sarti glenn.sar...@gmail.com wrote: Also, I find the warning when downloading Java 7 quite concerning. After April 2015, Oracle will no longer post

Re: [Neo4j] Spring Data Neo4j - Best Practice for Hydrating Objects Returned from @Query-annotated Property in NodeEntity

2015-01-27 Thread Clark Richey
-data/data-neo4j/docs/3.2.1.RELEASE/reference/html/# Accessing Relationship Entities Clark Richey clark.ric...@gmail.com On Jan 27, 2015, at 7:00 PM, BtySgtMajor btysgtma...@gmail.com wrote: I haven't seen too much discussion on this, so I'm hoping for some clarification/insight

[Neo4j] parsing / creating cypher

2015-02-23 Thread Clark Richey
Hello! Is anyone aware of a Java or JS based cypher parser or creator? I’m ideally looking to generate cypher queries on the front end that are sent to the application via rest. The application will make some adjustments to the queries for security purposes (ensuring all cypher is query only,

Re: [Neo4j] parsing / creating cypher

2015-02-23 Thread Clark Richey
Thanks! Clark Richey clark.ric...@gmail.com On Feb 23, 2015, at 5:41 PM, Michael Hunger michael.hun...@neotechnology.com wrote: There are two Java DSLs for Cypher: https://github.com/Wolfgang-Schuetzelhofer/jcypher https://github.com/neo4j-contrib/cypher-dsl There is peg.js for PEG

Re: [Neo4j] 2.2.0 and explain

2015-04-13 Thread Clark Richey
So…..answering my own question so far, it seems that the DB failed to properly upgrade on my last deployment and when I restarted it reverted to the old application version. Attempting to upgrade the DB now. -- Clark Richey CHIEF TECHNOLOGY OFFICER 240.252.7507 cl...@factgem.com

[Neo4j] 2.2.0 and explain

2015-04-13 Thread Clark Richey
@ruby bin]# ./neo4j-shell Welcome to the Neo4j Shell! Enter 'help' for a list of commands NOTE: Remote Neo4j graph database service 'shell' at port 1337 neo4j-sh (?)$ EXPLAIN match (n:Place {_geocoded:'true'}) return count (n); Unknown command 'explain' -- Clark Richey CHIEF TECHNOLOGY OFFICER

Re: [Neo4j] 2.2.0 and explain

2015-04-13 Thread Clark Richey
with the keyword in the shell you can always test: CYPHER 2.2 EXPLAIN ... M Am 13.04.2015 um 21:14 schrieb Clark Richey cl...@factgem.com: So…..answering my own question so far, it seems that the DB failed to properly upgrade on my last deployment and when I restarted it reverted

Re: [Neo4j] Getting an AST for a Cypher query?

2015-04-29 Thread Clark Richey
this but it would be SO much more efficient if there was an easy was to ask the neo kernel to parse text into cypher and get access to its constituent parts. Clark Richey clark.ric...@gmail.com On Apr 29, 2015, at 7:24 PM, Rich Morin r...@cfcl.com wrote: I'd like to minimize the amount

[Neo4j] array size exceeds maximum allowed size

2015-05-06 Thread Clark Richey
to allocate an array whose size exceeds the maximum allowed size. --- Clark Richey clark.ric...@gmail.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] Re: array size exceeds maximum allowed size

2015-05-07 Thread Clark Richey
Richey clark.ric...@gmail.com On May 6, 2015, at 8:24 PM, Sumit Gupta sumit1...@gmail.com wrote: hi, Please provide the exact exception along with the modified parameters. Thanks, Sumit On Wednesday, 6 May 2015 20:21:51 UTC+5:30, Clark Richey wrote: Hello, I’m running Neo4J 2.2.1

Re: [Neo4j] array size exceeds maximum allowed size

2015-05-11 Thread Clark Richey
yes, if I change the cache to soft then I can just set the page cache and everything works great with having to manually configure the relationships or node cache sizes. Clark Richey clark.ric...@gmail.com On May 10, 2015, at 4:47 PM, Chris Vest chris.v...@neotechnology.com wrote: I

Re: [Neo4j] array size exceeds maximum allowed size

2015-05-12 Thread Clark Richey
the other issue with HPC and array size the system hasn’t run out of memory. Clark Richey clark.ric...@gmail.com On May 12, 2015, at 9:42 AM, Chris Vest chris.v...@neotechnology.com wrote: The HPC heuristics will be fixed in the next 2.2.x release. -- Chris Vest System Engineer, Neo

[Neo4j] logical logs and lucene logs

2015-04-15 Thread Clark Richey
those manually? On a related note, what about the old lucene index logs? I have a LOT of those in production and even in development. will the keep_logical_logs�lse setting also apply to the lucene logs? if not, how can I manage those logs? Thanks! -- Clark Richey CHIEF TECHNOLOGY OFFICER

[Neo4j] schema index not being used

2015-04-15 Thread Clark Richey
| +--+---+-++ --- Clark D. Richey, Jr CHIEF TECHNOLOGY OFFICER 240.252.7507 cl...@factgem.com mailto:cl...@factgem.com WWW.FACTGEM.COM http://www.factgem.com/ Clark Richey clark.ric...@gmail.com -- You received this message because you are subscribed to the Google Groups Neo4j group

Re: [Neo4j] schema index not being used

2015-04-15 Thread Clark Richey
| +--+---+-+---+ | EagerAggregation | 1592 |count(p) | | |NodeIndexSeek | 2535411 | p | :Place(_geocoded) | +--+---+-+---+ Clark Richey

Re: [Neo4j] schema index not being used

2015-04-15 Thread Clark Richey
Thanks Yes it did the directIndex. Reading is hard sometimes. Sent from my iPhone On Apr 15, 2015, at 17:13, Michael Hunger michael.hun...@neotechnology.com wrote: Am 15.04.2015 um 22:47 schrieb Clark Richey clark.ric...@gmail.com: It’s actually supposed to be a String index.See

[Neo4j] logical logs

2015-04-16 Thread Clark Richey
OFFICER 240.252.7507 cl...@factgem.com mailto:cl...@factgem.com WWW.FACTGEM.COM http://www.factgem.com/ Clark Richey clark.ric...@gmail.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

[Neo4j] WINGMAN Cypher DSL

2015-06-03 Thread Clark Richey
Hello, I wanted to share with the community the initial release of WINGMAN, a JavaScript based DSL for generating cypher queries. The repository is located at https://github.com/FactGem/wingman https://github.com/FactGem/wingman and is provided under the Apache 2.0 license. This is an initial

[Neo4j] TransactionEventHandler bug?

2015-07-06 Thread Clark Richey
Hello, I’m implementing a TransactionEventHandler in much the same way that is presented here: http://maxdemarzi.com/2015/03/25/triggers-in-neo4j/ http://maxdemarzi.com/2015/03/25/triggers-in-neo4j/. When I have transactions that create relationships, I can correctly view those relationships

Re: [Neo4j] TransactionEventHandler bug?

2015-07-06 Thread Clark Richey
wrote:Hey Clark,do you have a small test that reproduces the issue? And which version are you testing it with?thanks a lotMichaelAm 06.07.2015 um 18:37 schrieb Clark Richey cl...@factgem.com:Hello,I’m implementing a TransactionEventHandler in much the same way that is presented here:http

Re: [Neo4j] TransactionEventHandler bug?

2015-07-07 Thread Clark Richey
I have confirmed the same behavior on 2.2.3 as well. Clark Richey clark.ric...@gmail.com On Jul 6, 2015, at 5:20 PM, Clark Richey clark.ric...@gmail.com wrote: Sorry. I’m running 2.2.2 enterprise. I do have a test which I have attached. In creating this test I can see that events

Re: [Neo4j] modifying more than 63 indexes in a single transaction not supported

2015-07-16 Thread Clark Richey
) indexes. Schema indexes are automatically updated and don’t suffer from this issue. Clark Richey clark.ric...@gmail.com On Jul 16, 2015, at 11:16 AM, Axel Morgner a...@morgner.de wrote: We see the same exception when bulk-updating nodes with more than 63 properties (which is a common

Re: [Neo4j] How to delete Relationship types

2015-07-13 Thread Clark Richey
What do you mean when you say you have created a “Relationship type”? Are you saying you accidentally created a relationship between 2 nodes and you want to delete that relationship? If so, how are you interfacing with the database? Cypher, java api, etc. Clark Richey clark.ric...@gmail.com

Re: [Neo4j] update properties on 10 million nodes with core api

2015-11-05 Thread Clark Richey
It also seems like you are updating a single node per transaction. That's not efficient. You can do thousands of updates in a single transaction. Sent from my iPhone > On Nov 5, 2015, at 21:34, Michael Hunger > wrote: > > Also Klemens, > > it is a bit

Re: [Neo4j] Limitations and Scalability down the line

2015-10-10 Thread Clark Richey
Michael, We use neo4j enterprise in embedded mode. Your comments regarding embedded concern me a bit. Is support for running embedded going away or are some of the APIs just changing? Sent from my iPhone > On Oct 10, 2015, at 11:00, Michael Hunger > wrote: >

Re: [Neo4j] TransactionEventHandler bug?

2015-07-10 Thread Clark Richey
On Tuesday, 7 July 2015 16:59:32 UTC+1, Clark Richey wrote: I have confirmed the same behavior on 2.2.3 as well. Clark Richey clark@gmail.com On Jul 6, 2015, at 5:20 PM, Clark Richey clark@gmail.com wrote: Sorry. I’m running 2.2.2 enterprise. I do have a test which I have

Re: [Neo4j] modifying more than 63 indexes in a single transaction not supported

2015-07-10 Thread Clark Richey
# that are updated in one tx. What is your use-case that you update more than 63 indexes in a single tx? Or is the error thrown incorrectly? Cheers, Michael Am 10.07.2015 um 23:24 schrieb Clark Richey cl...@factgem.com: Running 2.2.3 I’m getting this error: IllegalStateException: modifying

[Neo4j] modifying more than 63 indexes in a single transaction not supported

2015-07-10 Thread Clark Richey
Running 2.2.3 I’m getting this error: IllegalStateException: modifying more than 63 indexes in a single transaction not supported. This is being thrown rom IndexDefineCommand.getOrAssignId Can someone explain this? It seems to be new in 2.2.3 --- Clark D. Richey, Jr CHIEF TECHNOLOGY

Re: [Neo4j] Clear the database?

2016-01-05 Thread Clark Richey
If you are referring to the properties on the left of the browser, those are essentially cached. If you stop and restart the server they should clear. Sent from my iPhone > On Jan 5, 2016, at 16:15, Kevin Burton wrote: > > I have tried to run the suggested Cypher

Re: [Neo4j] Delay on data propagation (relationships).

2015-11-23 Thread Clark Richey
I've never seen or heard of any such issue. Sent from my iPhone > On Nov 23, 2015, at 01:27, Mr. W wrote: > > I heard it from Russian devs and I'm really worry about. I don't think they > aren't experienced. Anyway I need to be sure I'm doing good choosing neo. >

Re: [Neo4j] Re: Slow node creation/commits with unique constraint in 2.0.0

2016-05-25 Thread Clark Richey
I would definitely expect there to be additional overhead now because before the write can happen an index lookup against uid now needs to happen. that has to take some time. I also wonder if you are getting some lock contention doing this multithreaded. > On May 25, 2016, at 6:10 PM, Eric

Re: [Neo4j] Error in docs about neo4j cluster joining?

2016-05-27 Thread Clark Richey
You need at least 3 servers to have an HA cluster Sent from my iPhone > On May 24, 2016, at 13:40, Jean-Francois Bibeau wrote: > > Hi, > > I'm trying to understand how neo4j cluster creation/joining works as it is > not behaving properly in our application. > > So I'm

Re: [Neo4j] performance when deleting large numbers of nodes

2016-06-18 Thread Clark Richey
letion: " + > e.getMessage()); > > //} > > > > > > >> On Saturday, June 18, 2016 at 2:03:33 PM UTC-7, John Fry wrote: >> Thanks Clark - is there any good/recommended way to nest the commits? >> >> Thx JF >> >>>

Re: [Neo4j] performance when deleting large numbers of nodes

2016-06-18 Thread Clark Richey
You need to periodically commit. Holding that many transactions in memory isn't efficient. Sent from my iPhone > On Jun 18, 2016, at 16:41, John Fry wrote: > > Hello All, > > I have a graph of about 200M relationships and often I need to delete a > larges amount of

Re: [Neo4j] performance when deleting large numbers of nodes

2016-06-18 Thread Clark Richey
JF > >> On Saturday, June 18, 2016 at 1:43:19 PM UTC-7, Clark Richey wrote: >> You need to periodically commit. Holding that many transactions in memory >> isn't efficient. >> >> Sent from my iPhone >> >>> On Jun 18, 2016, at 16:41, John Fry &l

Re: [Neo4j] Multiple Instances for Neo4J for storing Multiple Graphs in Single application in single env.

2016-01-14 Thread Clark Richey
are running in embedded mode then you can certainly use the Java APIs to create, start, stop or delete new instances. Clark Richey clark.ric...@gmail.com > On Jan 13, 2016, at 3:32 PM, Vikas S <subs4vi...@gmail.com> wrote: > > I understand similar question has been asked be

Re: [Neo4j] Creating a graph database

2016-01-16 Thread Clark Richey
You just need to maintain a reference to the graphDB object in your code and make it available as needed. The Db supports ATOM operations so it can be safely updated while being queried. Sent from my iPhone > On Jan 16, 2016, at 14:06, Roopa ML wrote: > > The nodes and

Re: [Neo4j] Using Neo4j Community edition

2016-02-24 Thread Clark Richey
While I don’t work for Neo4J, YES, you can certainly deploy the community edition for that purpose. IT is open source and free of charge. You can always upgrade to enterprise later if you need to. - Clark Richey > On Feb 24, 2016, at 12:07 PM, Diaa ElKott <elk...@gmail.com> wrote: &

Re: [Neo4j] Geospatial and full text search with cypher

2016-02-27 Thread Clark Richey
Does this mean that the spatial project is being merged into the core in 3? Sent from my iPhone > On Feb 27, 2016, at 20:08, Michael Hunger > wrote: > > Hey, > > if you're new to Neo4j I recommend to check out the latest 3.0.0-M04 > milestone which allows

Re: [Neo4j] Geospatial and full text search with cypher

2016-02-27 Thread Clark Richey
on't make it into 3.0 but it > will hopefully come not too much later. > > Cheers, Michael > >> On Sun, Feb 28, 2016 at 2:30 AM, Clark Richey <clark.ric...@gmail.com> wrote: >> Does this mean that the spatial project is being merged into the core in 3? >> >> Sent f

Re: [Neo4j] Neo4j - Hardware sizing calculator - understanding

2016-03-01 Thread Clark Richey
Just the be clear, you are expecting 50,000 truly concurrent requests per second? That number is in the range of sites like ESPN.com during peak events. While it is certainly possible, it seems improbable for an initial launch. Sent from my iPhone > On Feb 29, 2016, at 23:57, Mit Bhatt

Re: [Neo4j] Index creation and query

2016-03-11 Thread Clark Richey
How are you trying to create the index? What do you mean when you say you don’t get results when you query it? You can't query for an index. > On Mar 11, 2016, at 1:58 PM, Hugo Labra wrote: > > Hello, > > I am trying to create an index but I have not been able to get

Re: [Neo4j] Re: Index creation and query

2016-03-11 Thread Clark Richey
Your queries aren’t in the correct format. I strongly recommend you start with this excellent, free tutorial: http://neo4j.com/graphacademy/online-course-getting-started/ > On Mar 11, 2016, at 5:03 PM, Hugo Labra wrote: > > Hi Clark, > > I tried several things, I

Re: [Neo4j] Re: Index creation and query

2016-03-11 Thread Clark Richey
If you created the index after you loaded the nodes then I don't believe they are indexed. You would either have to reload or use the java API to manually add the nodes to the index. You can confirm this by running a profile (add the keyword profile to the beginning of your query) and sharing

Re: [Neo4j] Index creation and query

2016-03-14 Thread Clark Richey
The easiest thing is probably for you to just clear your database and reload after the indexes are created. Neo4J supports two primary indexes, schema based indexes and legacy (lucene native) indexes. You have access to both via the Java API. It is strongly recommended that you stick to the

Re: [Neo4j] Neo4j Java API: GC overhead limit exceeded after running multiple queries

2016-03-08 Thread Clark Richey
At a brief glance I think you issue might be related to the fact that neo doesn’t support nested transactions. So, while you are committing txQ EVERYTHING is happening inside the single txG transaction. This is taking up a lot of memory to hold the entire transaction state. > On Mar 8, 2016,

Re: [Neo4j] How to assert node uniqueness using a composition of its properties?

2016-04-06 Thread Clark Richey
Neo doesn’t support unique constraints across multiple properties. You would have to create a compound property that contains that value and create a unique constraint on that single property. - Clark > On Apr 6, 2016, at 9:01 AM, Diaa ElKott wrote: > > Hello, all: > > I

Re: [Neo4j] Enhancing Performance For Batched Read/Writes

2016-05-04 Thread Clark Richey
Glad I.could help! Sent from my iPhone > On May 4, 2016, at 21:55, John Fry <frydom.j...@gmail.com> wrote: > > Many many thanks Clark - a huge help > > see in line: > >> On Wednesday, May 4, 2016 at 1:11:44 PM UTC-7, Clark Richey wrote: >> John, >

Re: [Neo4j] Enhancing Performance For Batched Read/Writes

2016-05-04 Thread Clark Richey
John, Here are my initial thoughts: You either have too much memory assigned to the JVM given that Neo uses off-heap memory for node caches. You have a lot of nodes in memory at a given time (550k nodes if I understand correctly).the OS is probably paging like mad to keep up which is consistent

[Neo4j] counting node properties

2016-04-19 Thread Clark Richey
hi! I’m running neo 2.3 and I have a node, call it a Shoe with (for example) two properties, color and size. I have a cypher query that finds the shoes people bought on a given day. What I want to know is the count of shoes with distinct sizes and the count of shoes with distinct colors. I can

[Neo4j] custom stored procedures

2016-07-20 Thread Clark Richey
Hi! When writing your own procedure I understand that the procedure lives in the calling transaction. However, is there any way to perform periodic commits in a store procedure? I need to be able to iterate over lots of nodes, making changes as I go, and If I don't commit periodically then memory

Re: [Neo4j] Do incoming relationships have index-free adjacency?

2016-07-10 Thread Clark Richey
It doesn't make a difference which way you make the relationship. The search will be equally fast either way Sent from my iPhone > On Jul 10, 2016, at 15:47, Kevin Krumwiede wrote: > > I'm new to Neo4j and playing around with a simple project before I attempt > anything

Re: [Neo4j] relationship index

2017-01-28 Thread Clark Richey
Indexes on relationship properties are currently not supported. Sent from my iPhone > On Jan 28, 2017, at 12:12, Marwa Elabri wrote: > > Hi > how can I create index on relationships properties > > because I just find cypher statement to create index on node properties

RE: [Neo4j] relationship index

2017-01-29 Thread Clark Richey
However, aren’t those legacy indexes? Schema indexes on relationships are still unsupported, correct? From: 'Michael Hunger' via Neo4j [mailto:neo4j@googlegroups.com] Sent: Sunday, January 29, 2017 9:21 AM To: neo4j@googlegroups.com Subject: Re: [Neo4j] relationship index You can do it

[Neo4j] shortest weighted path (Dijkstra )

2017-02-17 Thread Clark Richey
I want to find shortest weighted path between two nodes. Running apoc shortest path between those two nodes returns almost instantly (nodes are 2 hops away from each other). However, if I run Dijkstra against the same nodes it runs essentially for ever if there a better way (OOTB) to do

Re: [Neo4j] Rest API doesn't support empty arrays

2016-10-19 Thread Clark Richey
Maybe I'm missing something but why do you want to store an empty array as a property? An empty array is logically equivalent to null. Null is logically equivalent to not storing a value for hat property. Not storing a value for a property is more efficient than writing value = null to disk.

Re: [Neo4j] Finding unconnected nodes

2017-01-06 Thread Clark Richey
Can you provide a short graph gist of what a connected person / group would look like and what you want to find? Clark Richey 240-252-7507 > On Jan 6, 2017, at 17:41, David Rader <rader.d...@gmail.com> wrote: > > Have a neo4j database of a community with 1040 people,

Re: [Neo4j] querying a DB for an unknown element with a given uuid

2017-06-25 Thread Clark Richey
Your syntax is incorrect. Properties are accessed via . Notation not : http://neo4j.com/docs/cypher-refcard/current/ Anywaysyou can match on an indexed Property of an unknown type but it won't perform well at scale as the db has to do a node scan of all nodes. This is because indexes are

Re: [Neo4j] Re: The quickest way to ingest cypher (write operations)

2017-05-27 Thread Clark Richey
Have you profiled both queries and compared the plans? Sent from my iPhone > On May 27, 2017, at 15:12, unrealadmin23 via Neo4j > wrote: > > Yes, but in at my example, the performance dramatically changes with the > direction of the relationship. > This occurs when

Re: [Neo4j] Production application

2017-05-30 Thread Clark Richey
We are running it in production with nearly 2 billion nodes. Sent from my iPhone > On May 30, 2017, at 07:39, s...@meetouts.com wrote: > > Just wondering if anyone is using Neo4j for their production application. To > me it's look good for building POC, but would love to hear opinion and >

Re: [Neo4j] How to validate an update cypher query against a schema?

2017-05-30 Thread Clark Richey
This is quite challenging to implement. That being said we have implemented this in our application (http://factgem.com) and would be happy to discuss with you directly. Sent from my iPhone > On May 30, 2017, at 12:20, Yash Sharma wrote: > > I have a neo4j database

Re: [Neo4j] Slow node creation/commits with unique constraint in 2.0.0

2017-05-01 Thread Clark Richey
John, Generally speaking I don't recommend that you break all of those properties down into individual nodes. Taking that approach is pretty much obviating many of the benefits of a properties based graph and what you end up with is essentially RDF with all of the associated performance

Re: [Neo4j] Creating relationships between the same nodes failed. What could i be possibly doing wrong. I want to link one bstop to another and the relationship should be cost of fare.

2018-08-25 Thread Clark Richey
Your cypher is not a valid Cypher statement. You have to have a mode at both ends of the relationship. You also aren’t closing the square brackets inside the relationship. I recommend you work out the correct syntax in the cypher browser then put it back into the program Sent from my iPhone

Re: [Neo4j] computed properties

2018-01-18 Thread Clark Richey
TigerGraph is designed to do exactly that Sent from my iPhone > On Jan 11, 2018, at 19:04, jaybraun...@gmail.com wrote: > > Is there a capability in any graph database system or query language to > implement a computed property, i.e., a function/method that computes the > value of a property