Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

enhancement: configuration file that defines prefs/destination targets #10

Open
grimace opened this issue Dec 24, 2016 · 1 comment
Open
Assignees

Comments

@grimace
Copy link

grimace commented Dec 24, 2016

I'd like to suggest something...
an import prefs configuration file that defines

the DB name for the import
the names of the Neo4Jid and Neo4jLabels properties to import to
whether or not to overwrite or append to (possible) existing database

IHMO, I would like to use a particular DB rather than neo4j_import ( otherwise I have to rename it when I'm done importing )
I would like the ID and labels to be something I use going forward rather than renaming those properties or copying those properties to something else
I would like to import into an existing DB so I don't have to repeat the process over and over.

...maybe there are other configuration items possible

@santo-it
Copy link

santo-it commented Dec 24, 2016

Hi Gregory,

Thanks for opening this enhancement

Sure, I agree with you that having a configuration file that allows to customize some things is useful

Names that should be possible to customize:

  • Neo4jNodeID
  • Neo4jRelID
  • Neo4jLabelList
  • E_ (this is the prefix that is used during the import when relationships have the same name of nodes)
  • GenericClassNeo4jConversion
  • MultipleLabelNeo4jConversion
  • Type of index on internal properties

Please note that there's already an option that allows you to specify a database name. When not set "neo4j_import" is used by default. The option name is -odbdir (http://orientdb.com/docs/last/OrientDB-Neo4j-Importer.html#syntax)

Good point about "appending" to an existing database

Many Thanks for your feedback!

@santo-it santo-it self-assigned this Dec 24, 2016
@santo-it santo-it added this to the 2.2.x (next hotfix) milestone Dec 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants