neo4jclient

    1热度

    1回答

    Neo4j将支持2.x版本的树模式(我们不能使用树函数)我们使用1.9RC1。 我需要让用户与追随者和朋友。 public class User { public long Id { get; set; } public string Name { get; set; } ............... } public class UserModel {

    2热度

    1回答

    我是Neo4j和Neo4jClient的新手。我正在尝试更新现有的关系。这是我创建这种关系的方式。 var item2RefAddedBefore = _graphClient.CreateRelationship((NodeReference<Item>)item2Ref, new AddedBefore(item1Ref, new Payload() { Frequency =

    1热度

    2回答

    您好,我想执行下面的Cypher查询来计算我指定的节点与多少个节点有关系,并且我在本例中通过了nodeName。 下面是该查询: START n=node:NameIndex(Name = "Mike") MATCH (n)-->(x) RETURN n, count(*) 这里是我的尝试: public IEnumerable<VersionNode> GraphNodeCount(st

    2热度

    1回答

    我正在使用Azure并发现性能较慢。为了减少往返时间,我将以下查询分为一个查询。 var queryItem = _graphClient .Cypher .Start(new { n = Node.ByIndexLookup("item_idx", "SKU", sSKU1), }) .Return<Node<

    1热度

    1回答

    想看看在查询这样的关系: var query = _graph.Cypher.Start( new { me = Node.ByIndexLookup("node_auto_index", "id", p.id) }).Match("me-[r:FRIENDS_WITH]-friend") .Where((Person friend) => friend.id == f.id)

    0热度

    3回答

    我在下面的代码,说得到一个错误: 下面是代码,我需要这个方法返回的最大值?它是一个IEnumerable或int? public IEnumerable<int> GraphGetMaxVersion(IEnumerable<Node<VersionNode>> nodeId) { IEnumerable<int> nodes = null; client

    1热度

    2回答

    是否可以使用NEO4J客户端.NET将多个事务封装为一个事务?我的问题是,我需要删除一个节点,所有关系和附加到这些关系的所有END节点作为一个ACID事务。我明白使用REST批处理是可能的。我可以使用NEO4j .NET Client吗? 非常感谢您的支持!

    1热度

    1回答

    我想在Neo4jClient的Cypher中实现Limit子句,但它似乎不被支持(?)。 我以为我看到一些test cases /其他文件提到它,但我似乎无法在我的智能感知中找到它。 是否有解决方法将结果限制为只有前5?我有5000多个结果,结果很痛苦。 我正在使用Neo4jClient版本1.0.0.572。非常感谢!

    0热度

    1回答

    我想把我的Neo4j密码查询中的where子句返回一些节点,这是查询im试图执行: start n = node:node_auto_index(Name = "Contact Details") Match (n)--(x) Where x.Type = "Version" Return x; 现在我的C#方法看起来像这样(使用Neo4jClient): public IEnumerable

    0热度

    2回答

    我正在使用Neo4jClient编写演示。我的演示有两个节点:啤酒和BeerBrand和一个关系Is_Made具有propertise ReleaseDay。我编写了这个代码,以获得制造特定啤酒的节点BeerBrand。 var isMadeBy = beer .StartCypher("b") .Match("b-[r:IS_MADE]->e")