use this as header for your rels file ns_name:string:Xns_name ns_name:string:Xns_name type name:string:Xname ns:string:Xns ns_name:string:Xns_name
it uses the first part (ns_name) for the lookup. Michael On Sat, May 24, 2014 at 9:52 PM, Rich Morin <[email protected]> wrote: > I've been trying to use some of batch-importer's indexing features. I'd > like to have everything indexed and have batch-importer look up node IDs > automagically while precessing rels.csv. Here is my setup: > > batch.properties: > > use_memory_mapped_buffers=true > neostore.nodestore.db.mapped_memory=100M > ... > neostore.propertystore.db.index.mapped_memory=15M > batch_import.node_index.Xns_name=exact > ... > > nodes.csv: > > ns_name:string:Xns_name ns:string:Xns name:string:Xname ... > owl_Thing owl Thing ... > ... > > rels.csv: > > start:string:Xns_name end:string:Xns_name type name:string:Xname > ns:string:Xns ns_name:string:Xns_name > rdf_type rdfs_Class RDF range rdfs rdfs_range > ... > > However, my test run indicates (eg, by skipping relationships) that > something is amiss: > > $ import.sh test.db ../nodes.csv ../rels.csv > Usage: Importer data/dir nodes.csv relationships.csv [node_index ... > Using: Importer batch.properties test.db ../nodes.csv ../rels.csv > > Using Existing Configuration File > > Importing 7346 Nodes took 1 seconds > > Importing 0 Relationships skipped (7452) took 0 seconds > > Total import time: 3 seconds > > Comments? Clues? Suggestions? > > -r > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
