Questions tagged [neo4jclient]

Neo4jClient is an open source .NET client for the Neo4j graph database.

Neo4jClient is an open source .NET client for the Neo4j graph database.

It is primarily focused on Cypher queries, and is in active development. There is support for the CRUD REST API and Gremlin queries, however these approaches are both considered legacy and are not being developed.

It has an official site with documentation, and is available via NuGet.

627 questions
3
votes
2 answers

neo4j REST API poor performance

According to my benchmark of creating nodes using GraphClient.Create() performance leaves much to be desired. I've got about 10 empty nodes per second on my machine (Core i3, 8 GB RAM). Even when I use multithreading to perform create time to each…
Eugene D. Gubenkov
  • 5,127
  • 6
  • 39
  • 71
3
votes
2 answers

Connecting to to neo4j on a different computer on the same network?

We have a local network here and on on one of the computers we have neo4j server installed. Now for testing I would like to access it from my computer on the same network. I am struggling to do so? Do I do anything here in the…
Mike Barnes
  • 4,217
  • 18
  • 40
  • 64
3
votes
1 answer

how can I return two collections with a cypher query in the neo4j .net client

I'd like to return two collections in one query "tags" and "items" where each tag can have 0..many items. It looks like if I use the projection, it will assume a single collection with two columns rather than two collections, is that correct? Is…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
3
votes
1 answer

How do i retrieve a relationship in Neo4j graph database

Please bear with me I'm new to this: I'm currently using the .Net neo4jClient. Currently I have a Share node and a Customer node. I'm creating a relationship CustomerOwnsShare between them and persisting it. Here's my Relationship class public class…
noob Mama
  • 267
  • 8
  • 28
2
votes
0 answers

Neo4j Queries cannot be run directly on a session with an open transaction; either run from within the transaction or use a different session

I am new to using Neo4J and I came across this error, I am closing and opening the sessions, however, I am receiving this error. const session = driver.session({ database }); await session.run(`CREATE (u:USER} {name:"Test Demo"} ) return u`) I use…
2
votes
0 answers

neo4j local cluster start failed

I am trying to set up a local cluster in neo4j and following this tutorial (https://neo4j.com/docs/operations-manual/current/tutorial/local-causal-cluster/#tutorial-local-cluster-configure-cores). I have downloaded the latest enterprise version…
2
votes
1 answer

neo4j & .NetCore Docker setup

I want to setup my neo4j database and my .NetCore Web Api with Docker. I created the following docker-compose file : version: '3.4' services: server: image: ${DOCKER_REGISTRY-}server network_mode: "bridge" build: context: . …
TobiasW
  • 861
  • 3
  • 13
  • 36
2
votes
1 answer

c# class graph to Neo4j

I'm looking to transform my in memory Plain old C# classes into a neo4j database. (Class types are node types and derive from, nodes have a List for "linkedTo") Rather than write a long series of cypher queries to create nodes and properties then…
GreyCloud
  • 3,030
  • 5
  • 32
  • 47
2
votes
1 answer

How to implement where criteria with Neo4jClient F#?

I try to query count related nodes of a specific one with Neo4jClient in F#. But keep receiving the following error: System.MissingMethodException: Method not found: 'System.Type Newtonsoft.Json.JsonContainerAttribute.get_NamingStrategyType()'. I…
AnotherNewbie
  • 198
  • 1
  • 1
  • 6
2
votes
1 answer

How to use a value in CSV file as relationship lable in neo4j?

I am trying to create a graph in neo4j and my data which is in CSV file looks like node1,connection,node2 PPARA,0.5,PPARGC1A PPARA,0.5,ENSG00000236349 PPARA,0.5,TSPA I want connection values to use as labels of relationships in graph which I am not…
Raza Ul Haq
  • 342
  • 3
  • 15
2
votes
1 answer

Exposing data to BI and generating reports in neo4j

What is the best practice exposed data to BI from neo4j ? and If we are generating reports what is best practice to generate reports in Neo4j Need your guidance on this
nad.SN
  • 77
  • 7
2
votes
1 answer

neo4j sum up values

I'm trying to get Total(Sum) of a property of "df" object.I have attached screen shot of sample database I'm using I tried to get the graph using following query MATCH P= (n:Org)-[:O_CH*0..]->()-[:LEAF*0..]->()-[:CH*0..]->()-[:FOR*0..]->()…
nad.SN
  • 77
  • 7
2
votes
1 answer

Neo4j and parameterized queries

I'm looking into using Neo4j for a project, but I'm a bit confused when it comes to best practices. I would normally assume that the official C# driver provides a method of parameterizing queries, but I can't see anything in the official…
bjelleklang
  • 476
  • 3
  • 8
  • 25
2
votes
1 answer

How to call a stored procedure in neo4jclient?

I'd like to call a stored procedure (see a previous question:Question with stored procedure for Neo4J as the answer However, I can't quite see a way of doing that through the fluent query interface. Can anyone help? My Cypher…
David Swindells
  • 641
  • 1
  • 12
  • 28
2
votes
1 answer

neo4j a Task has been canceled

I've the following code to generically link vertices in neo 4j public async Task LinkVertices(Expression> join, string relationName) { string sourceName = typeof(TSource).Name; string…
Boas Enkler
  • 12,264
  • 16
  • 69
  • 143