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
0
votes
1 answer

Cannot implicitly convert type 'Neo4jClient.NodeReference<>' to 'Neo4jClient.GraphClient'

This is a two part question I am getting this error when i try to create a new node Cannot implicitly convert type'Neo4jClient.NodeReference' to 'Neo4jClient.GraphClient' I have 3 classes here The first connects to the GraphDB server and return…
Mike Barnes
  • 4,217
  • 18
  • 40
  • 64
0
votes
0 answers

Neo4JClient performance crawling a database

I am testing Neo4J as the searched database to my application's database (SQL Server or Oracle). My intention is to crawl the RDBMS database and copy the searchable content to Neo4J. Later when the user requests a search, I can use the graph…
Dave Michener
  • 1,058
  • 11
  • 30
0
votes
1 answer

Fetching relationships of nodes queried by index returns zero results (Cypher)

Using the latest Neo4jClient to access a Neo4j DB I can't successfully run the following Cypher query: var connections = _graphClient.Cypher .StartWithNodeIndexLookup("n", "indexName", "'id:*'") …
Piedone
  • 2,693
  • 2
  • 24
  • 43
0
votes
1 answer

how to return an ICollection with the .net neo4j Client

I'm trying to return a result list from my cypher query using the .net neo4j client and getting a "Does not contain a definition for ToList()" error. Am I doing this incorrectly? public async ICollection getWishList(string uname) { var…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Using a with clause in Neo4jClient cypher fluent queries

I'm trying to write a cypher query with a WITH clause using Neo4JClient. However, I can't see a With operation anywhere in any of the ICypherFluentQuery namespaces. Does Neo4JClient support with clauses? And if so, how?
Craig Brett
  • 2,295
  • 1
  • 22
  • 27
0
votes
1 answer

Set Neo4j Uniqueness to NODE_PATH with Neo4jClient

In order to prevent my path from including the same node more than once, I'm looking to be able to set the uniqueness to NODE_PATH either using the .Net Neo4jClient or at the database level in one of the database config files (which, last I heard,…
Brent Barbata
  • 3,631
  • 3
  • 24
  • 23
0
votes
2 answers

Working with index in Neo4j

I've been going through the Neo4J and Neo4J C# client.. The neo4jclient wiki helped me to with node crud operations.. however the wiki ends there abruptly.. I poked around the test methods in source code and managed to understand about relationships…
LocustHorde
  • 6,361
  • 16
  • 65
  • 94
0
votes
2 answers

Neo4jclient how to get the properties information

I am new to neo4jclient, consider the below case node: name : Person A age : 25 class: public class Person { public string name { get; set; } } using the below query var persons = client .Cypher .Start("n", "node(*)") …
0
votes
2 answers

How do I delete a relationship using Neo4jClient

Am trying to get the basics down before moving forward with neo4j. Love the querying aspect but now trying to delete using neo4jclient and stuck. Simple setup root-[:has_user]->user and user-[:friends_with]->friend` For a user with the Id of 1 I…
rball
  • 6,925
  • 7
  • 49
  • 77
0
votes
1 answer

Neo4jClient get all nodes of a specific type connected to root node

I have some nodes of type User that are attached to the root node like so var node = _graphClient.Create(new User{Name= "Bob}, new UserBelongsTo(_graphClient.RootNode)); I would like to perform a query that will return all users that are connected…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
0
votes
1 answer

How create node with unicode property in Neo4jClient?

I am using Neo4jClient in C#. I added several nodes with properties which contains string in nicode format. The thing is that when i query nodes back in C# i get ???? instead of unicode values the same happen when i review data via Neo4j server…
ArthurVard
  • 138
  • 1
  • 8
0
votes
0 answers

NEO4jClient GraphClient.Connect() exception thrown

I am noew to Neo4jClient and I have just tried to get a simple project up and running. I installed Neo4jClient through the NUGET Package Manger and the console said to me that everything had installed correctly. I opened a new blank console app and…
LukeDevs
  • 131
  • 1
  • 6
0
votes
1 answer

Neo4j Return Distinct Node With Least Amount of Hops

I have the following data: A --> B B --> C Consider this query: START n = node(A, B) MATCH p = n-[*..2]-(x) RETURN n.Name, x.Name, length(p) Starting with 2 input nodes, traverse to other nodes with no more than 2 hops. The following is…
Scott Coates
  • 2,462
  • 5
  • 31
  • 40
0
votes
1 answer

Neo4JClient: How can I find a list of relationships (of any type) for a given node?

I know how to get the related nodes, and to specify the relationships to find those nodes, but there doesn't seem to be any mechanism to find the relationships themselves? Looking through the source code for Neo4JClient you can find the type…
Daniel Corbett
  • 255
  • 2
  • 10
0
votes
2 answers

How can I load a vertex with related vertex as a collection

GraphDb side Vertex:User Edge:Has Vertex:Car Object Side public class User { public string Name { get; set; } [GraphEdge("HAS_CAR")] public ICollection Cars { get; set; } } Problem I want to get User X with Cars property from…
Oguz Karadenizli
  • 3,449
  • 6
  • 38
  • 73
1 2 3
41
42