cost 102 ms
在开发过程中重新加载 python 查询模块的最佳方法是什么? - What's the best way to reload python query module during development?

我正在为 Memgraph 开发我的第一个查询模块。 我试图找到最好的方法。 我有一个依赖于本地子模块( firstone )的查询模块: 如果我理解正确,如果firstone模块发生变化,程序仍然使用以前的代码。 如何在开发过程中重新加载 Python 查询模块? ...

2023-02-01 12:25:23   1   9    memgraphdb  
尝试在 WSL 上的 Ubuntu 下运行 Memgraph 时出错:“系统尚未使用 systemd 作为初始系统 (PID 1) 启动。无法运行。” - Error when trying to run Memgraph under Ubuntu on WSL: "System has not been booted with systemd as init system (PID 1). Can't operate."

我的设置是 Windows 11 with WSL2 和 Ubuntu 22.04.1 LTS (GNU/Linux 5.15.79.1-microsoft-standard-WSL2 x86_64)。 我按照 说明在 Ubuntu 上安装 Memgraph,但我一直收到错误消息: 我已经尝试了通 ...

2023-01-27 08:45:30   1   7    memgraphdb  
我可以传递 mgp.ProcCtx 并在 Python 中实现使用实际图的并行图算法吗? - Can I pass around mgp.ProcCtx and implement parallel graph algorithms in Python that use the actual graph?

我正在使用包含 MAGE 1.5.1 的 Memgraph Platform 2.6.4。 我注意到 MAGE 的代码中有一个有趣的部分告诉我您可以在服务器上使用多处理。 但是,我可以绕过mgp.ProcCtx并在 Python 中实现使用实际图形的并行图形算法,还是我需要像本例中那样处理图形表示 ...

2023-01-26 09:26:34   1   8    memgraphdb  
从 Neo4j 数据库中的所有节点中删除属性 - Remove property from all nodes in a Neo4j database

我继承了一个 Neo4j 数据库,至少可以说这个数据库很大。 我一直在研究它并注意到我们在每个未使用的节点中存储了一个大字符串。 假设我们有几百万个名为Post的节点,每个Post都有Text 。 我想从整个数据库中的每个Post中删除Text 。 有人可以通过 Cypher 指出我这样做的途径吗? ...

我可以为所有节点批量删除一个节点属性吗? - Can I bulk delete one node property for all nodes?

我得到的数据 model 具有三个节点,这些节点与三个关系相连。 这是我的数据 model 通过查看 model,为每个国家存储 2 个和 3 个字母的代码对我来说毫无意义,因此我想删除国家/地区的所有 2 个字母的 ISO 代码。 我尝试运行以下代码,但没有返回。 我应该怎么办? 有替代方法吗? ...

如何获取与一种节点类型相关的所有属性? - How can I get all of the properties related to one node type?

我有一个节点国家。 我知道这个节点有一些属性,但我不知道是哪个。 我的意思是,我知道,因为我看过 model。这是我在文档中找到的内容: 我知道如果我跑 我会得到一个特定属性的结果。 是否有一个查询会返回类似的结果: name, iso_2_code, iso_3_code, region, su ...

Neo4j 获取多个连接节点的查询 - Neo4j query for getting multiple connected nodes

在我的图中,我想获得某个节点的一级、二级和三级邻居。 如果我的图是A -> B -> C -> D -> E ,那么 C 的一级邻居是 B C 的二级邻居是 A C 的三级邻居为无检查邻居时,我 go 在边缘的反方向。 为了获取这些节点,我编写了以下查询。 我意识到此代码 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM