Comments (4)
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.
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.
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.
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)
- Make Chunker.BUFSIZE a configuration option HOT 1
- Index lookup in relationship file throws NumberFormatException HOT 1
- Cannot connect to graphdb created by batch-import tool in Windows OS HOT 3
- NumberFormatException when importing relationships file HOT 1
- Rename master branch to 1.9 HOT 1
- Slow Import / 2G nodes file HOT 2
- Import Error HOT 1
- Error running batch_importer_22 HOT 3
- No relations input
- How can I know which line is it crashing on? HOT 1
- View graph in Neo4j Browser after importing HOT 3
- Imported csv files successfully but query results are empty
- common interface for BatchInserter and GraphDatabaseService?
- Why Batch-Importer is not work when i import about one hundred million nodes?
- Improt error,emergency!!!!
- How can i use this tool to import data that may be duplicated HOT 1
- Download link to binary is broken HOT 2
- Failed to load csv in Neo4j Ver 3.3
- An exception occured while executing the Java class. More than one element in org.mapdb.Bind$5$1@46248627. First element is '983727989' and the second element is '997379223' HOT 1
- version 3.4.0
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 batch-import.