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
4
votes
4 answers

Return overload fails

I'm following this little write up: https://github.com/Readify/Neo4jClient/wiki/cypher but I'm doing it from Powershell. so what I have so far…
ekkis
  • 9,804
  • 13
  • 55
  • 105
4
votes
0 answers

Neo4jClient: Wild char Search do not work when parametarized

I am having a strange issue with the Neo4JClient. The following query works .AndWhere("((shipper.Name =~ '(?i).*" + filterTxt + ".*') OR (frm.Name =~ '(?i).*" + filterTxt + ".*') OR (to.Name =~ '(?i).*" + filterTxt + ".*'))"); but the same when I…
Kiran
  • 2,997
  • 6
  • 31
  • 62
4
votes
2 answers

Neo4j .NET Client Execute String Cypher Queries

Is it possible to execute CYPHER queries as just plain old strings using the Neo4j .NET Client or any other module? For instance, if I want to add some nodes to my graph database and already had the statements assembled, is there a means to execute…
smk081
  • 783
  • 1
  • 10
  • 36
4
votes
1 answer

ASP.NET and Neo4jClient - where to store the connection?

The C# Neo4JClient has GraphClient where you have to call .Connect() var client = new GraphClient(new Uri("http://localhost:7474/db/data")); client.Connect(); In all of the examples that I've seen, it's in a Console app, so they declare GraphClient…
4
votes
1 answer

Object relational mapping with the Neo4jClient

Let’s consider the structure: (parent) –[:HAS_CHILD]-> (child) –[:HAS_DOG]-> (dog) Right now I would use the following cypher query to return a sort of hierarchy: MATCH (p:Parent) -[:HAS_CHILD]-> (c:Child) -[:HAS_DOG]-> (d: Dog) WITH p,…
Claudia
  • 53
  • 1
  • 4
4
votes
1 answer

How to format DateTimeOffset in Html.TextBoxFor?

I have a view built on Bootstrap 3 and ASP.NET MVC 5 for editing user profile information, but it displays in the incorrect format on the form. The database is Neo4j and I'm using Neo4jClient to interact with the database from .NET. Neo4jClient…
4
votes
1 answer

Neo4jClient - Create index from within Neo4jClient?

Is there a way to create an index from within Neo4jClient? I've done a raw query, but don't think that's the best option. My reason for doing so is in testing purposes where I need to drop/recreate databases to test performance of different…
leadZERO
  • 195
  • 1
  • 1
  • 4
4
votes
1 answer

Create node with label using Neo4jClient in f#

I am trying to create a node and also assign a label to that node. Following the instructions in Using Neo4j Graph DB With F#, I managed to create the Person nodes, but I could not create a label Person for the node created. Is my use of the create…
cgio
  • 53
  • 3
4
votes
3 answers

how to import data from sql to neo4j

I have developed a .net project which has a SQL database. I want to know is there any way, that I can import my SQL DB file into the neo4j database directly?
user862226
  • 129
  • 2
  • 8
4
votes
3 answers

Lambda expression in WHERE clause not working as expected

I'm new to Neo4j and trying to do a simple Cypher query using a lambda expression in the where clause but for some reason I can't seem to figure out why this isn't working. Looks like: class HealthNode { public string Name{get;set;} …
Warren Y
  • 41
  • 1
4
votes
1 answer

Ensure unique nodes with neo4jclient

Is there a way to ensure uniqueness when creating a node with neo4jclient? This link transactions shows how to do it using java and transactions, but I don't see any transaction support in neo4jclient. I was able to do it using an explicit Cypher…
Alex Kilpatrick
  • 411
  • 1
  • 4
  • 16
4
votes
2 answers

C# Neo4jClient TaskCancelled Exception

I am making a pretty long query to Neo4j database using Neo4jClient and getting an exception which occurs pretty randomly. How to fix this? System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors…
Martynas
  • 1,064
  • 10
  • 21
4
votes
2 answers

Dealing with multiple columns in Neo4jClient query results

I have a Neo4j database which, for the sake of simplicity, contains User nodes and University nodes - where a User can be related to a University via the [:STUDENT_AT] relationship. I want to return both the User details and the University details…
Tom Davies
  • 899
  • 6
  • 20
4
votes
2 answers

Neo4jClient Return NodeReference from cypher query

I have a query: var results = new CypherFluentQuery(_client) .Start("n", (NodeReference)0) .Match(string.Format("(n)-[:{0}]--(x)", UserBelongsTo.TypeKey)) .Return("x") .Results; This returns me all of the nodes…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
4
votes
3 answers

Neo4jClient Data Import

I use Neo4jClient (.NET). I have to import master data like countries. I've seen that Neo4j has a Java API for that (the batch insertion API). Is it possible to import data via the web interface or another tool? If not, do I have to import the data…
user1401611
  • 173
  • 1
  • 10
1
2
3
41 42