-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposal for Neo4j Uploader Improvments (#357)
* proposed changes to improve neo4j operations - use neo4j-rust-ext instead of plain neo4j driver for 10x perf improvement - always match on a single node label (equivalent to the constraint), never blank matches - group relationships by type, source- and target-type - increase batch size - use vector property procedure to set fp32 instead of p64 - method to select the main label for a node - TODO: create vector index would need information from the embedder (dimension) and similarity function (from config) - Set extra labels * Fixed one missing label.value, added created nodes/rels to log output * Set default values for username and database * Modify main label logic, deduplicate data from node and edge Implement main label getting logic on the Node. Validate that Node has at least one label to ensure there's always a main label. Remove data about nodes from the edge, refer to Node objects directly in the Edge. * Add index creation with 'cosine' similarity function * make creation optional, resolve conflict * changelog and version * tidy --------- Co-authored-by: Filip Knefel <[email protected]> Co-authored-by: Ahmet Melek <[email protected]> Co-authored-by: Ahmet Melek <[email protected]>
- Loading branch information
1 parent
442dbfa
commit 4edcd1b
Showing
5 changed files
with
135 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
neo4j | ||
neo4j-rust-ext | ||
cymple | ||
networkx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.5.3-dev1" # pragma: no cover | ||
__version__ = "0.5.3-dev2" # pragma: no cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters