Git Product home page Git Product logo

Comments (4)

jexp avatar jexp commented on July 17, 2024

Ok, so how. Secondary files for indexing which only contain the data to index or what I'd like more a marker in the column header (property) that points out that this property shall be indexed.

from batch-import.

maxdemarzi avatar maxdemarzi commented on July 17, 2024

nodes_index.csv
index_name type node_id key value

rels_index.csv
index_name type rel_id key value

node_id and rel_id gathered by line number (the same way relationships does it).

An alternative is we could have an index.csv with index_name and type, and just reference the index ids.

What do you think?

from batch-import.

maxdemarzi avatar maxdemarzi commented on July 17, 2024

So I started working on this today, and pretty much have the POC figured out. Now I just need to expand this into user passable args.

Pass in the index type, index name, full text or exact and finally the name of the index file in command line quads:

node_index users fulltext users_names_index.csv
node_index user_keys exact user_keys_index.csv
rel_index worked fulltext worked_index.csv

I'll try to finish it tomorrow and send in a pull request after I test it.

from batch-import.

jexp avatar jexp commented on July 17, 2024

Thanks Max, what about my initial suggestion of using the table header row for that?

You could use indexname:key as title for those columns that are to be indexed ?

After all the direction of Neo4j indexing is moving towards only indexing values that are actually derivable from the graph data (to allow index build/rebuild).

What would be an interesting (though separate) feature is to use a index-lookup for the start and end-node, e.g. by putting the same indexname:key in the first two column headers and using the acutal value in that row for lookup (this should then employ the faster lookup mechanisms, that e.g. Tero implemented (or lucene-kv store / babudb).

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.