Giter VIP home page Giter VIP logo

Comments (3)

ITBOX-ITBOY avatar ITBOX-ITBOY commented on August 17, 2024

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.

lemonhu avatar lemonhu commented on August 17, 2024

谢谢关注。
@ITBOX-ITBOY 谢谢帮忙解答,问题应该在于生成了重复的实体ID,代码是基于实体名称属性利用md5()方法生成的实体ID,补加上--ignore-duplicate-nodes=true命令应该可以解决该问题。

from stock-knowledge-graph.

tecmry avatar tecmry commented on August 17, 2024

在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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.