ldbc/ldbc_snb_interactive_v1_impls

implement custom multi-hop cypher query on neo4j implemention

Closed this issue · 6 comments

Hi,I'm using LDBC Neo4j implementation to test the neo4j database in a course project. Now I want to implement some custom and more complex cypher queries(multi-hop). And add it to the driver workload. Like adding a ldbc.snb.interactive.LdbcQuery15.I can't find source code in this project to modify..
Could you please tell me how to do that?

Hello @vege-yummy, use the v1-dev branch of the driver:
https://github.com/ldbc/ldbc_snb_interactive_driver/tree/v1-dev

Once you updated the code, you have to Maven install it with the driver repository's scripts/install.sh script. Then, you can use it from this repository (the implementations).

Thank you very much!
After I run the scripts/install.sh , Can I use it from this repository (the implementations) directly? Is there anything else I should modify? I have modified something but it doesn't seem to work. (Sorry I'm not very familiar with maven project)
image

I'd recommend to bump the version to 1.3.0-SNAPSHOT. If you use a stable version like 1.2.0, the other project will not notice that it's changed. So change the instances of 1.2.0 to 1.3.0-SNAPSHOT in both the driver code and in the implementations code.

For the implementations, don't forget to also change the branch to v1-dev.

There are many problems after I change 1.2.0 to 1.3.0
image

image

image

It seems to work! Thank you !