Giter Site home page Giter Site logo

Indexing problem about batch-import HOT 4 CLOSED

jexp avatar jexp commented on August 17, 2024
Indexing problem

from batch-import.

Comments (4)

jexp avatar jexp commented on August 17, 2024

The first file only contains properties of the nodes to import property-name is in the header, value in the row.

The start,end-id values in the relationship-file refer to the row-numbers (1-based of the nodes-file).

from batch-import.

baltrunasl avatar baltrunasl commented on August 17, 2024

Thanks for a fast reply.

Row number! This was not clear from the documentation. I will try ASAP.

from batch-import.

baltrunasl avatar baltrunasl commented on August 17, 2024

In the example you have:

format nodes.csv
propname1 propname2
value1 value2

format rels.csv
start end type propname1 propname2
0 1 OWNS value1 value2
1 2 IS_A value1 value2

When start=0 its not really a pointer to a row number of the nodes.csv, its row number -1, as you also have a header. Is it correct?

from batch-import.

jexp avatar jexp commented on August 17, 2024

actually they refer to node-id's which are generated in a increasing sequence starting at 1 (0 is the reference node which already exists in the graph).

1 and up are the rows you specify in your nodes.csv

from batch-import.

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.