Comments (3)
neo4j-admin import
--database=stock.db
--ignore-duplicate-nodes=true
--ignore-missing-nodes=true
--id-type=string
--nodes=executive.csv
--nodes=stock.csv
--nodes=industry.csv
--nodes=concept.csv
--relationships=executive_stock.csv
--relationships=stock_industry.csv
--relationships=stock_concept.csv
你执行这个语句
在修改neo4j.conf配置文件
dbms.active_database=stock.db
这个操作是为了切换数据库
修改好后,对neo4j服务进行重启
from stock-knowledge-graph.
谢谢关注。
@ITBOX-ITBOY 谢谢帮忙解答,问题应该在于生成了重复的实体ID,代码是基于实体名称属性利用md5()
方法生成的实体ID,补加上--ignore-duplicate-nodes=true
命令应该可以解决该问题。
from stock-knowledge-graph.
在4.0.0版本的neo4j中--ignore-duplicate-nodes=true --ignore-missing-nodes=true取消了这两个选项我换成了--skip-duplicate-nodes=true --ignore-empty-strings=true
from stock-knowledge-graph.
Related Issues (20)
- 老哥图挺好看的?是拿什么画的? HOT 1
- 卡在了任务五 HOT 4
- .csv文件导入neo4j HOT 1
- 运行stock.py出现如下错误 HOT 1
- 图数据库应用
- 将数据导入neo4j数据库出了错 HOT 6
- 您好,我将数据导入neo4j之后只显示了person节点,没有关系网络,我用的是社区版的,不知道什么原因
- 无法查询多种关系图
- Stock.py报错 HOT 1
- z HOT 1
- 请问下stockpage.zip的数据怎么获取的?
- ID(Executive)和ID(Concept)字段如何命名?
- 有关问题检索
- 个人问题 HOT 1
- 能把您这几个csv文件公开一点数据demo吗 HOT 1
- 文件乱码问题 HOT 5
- 数据获取代码 HOT 1
- 知识图谱问题 HOT 1
- 关于命令行的问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stock-knowledge-graph.