javaneo4jgraph-databasesrecommendation-enginegraphaware

Connect graphaware neo4j-reco to standalone neo4j server


I want to run neo4j-reco README exmple with standalone server.

How can I change it to use and connect to my external neo4j server?


Solution

  • You can deploy the recommendation engine jar as well as the corresponding version to your neo4j standalone server.

    Then you can create a stored procedure attached to the engine so you can request recommendations via Cypher.

    There is an example of the procedure here :

    https://github.com/graphaware/recommendations-meetup/blob/master/src/main/java/com/graphaware/meetup/procedure/MeetupRecommendationProcedure.java

    And the corresponding integration test :

    https://github.com/graphaware/recommendations-meetup/blob/master/src/test/java/com/graphaware/meetup/MyRecommendationEngineIntegrationTest.java#L72