1

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?

mohammad_1m2
  • 1,571
  • 5
  • 19
  • 38
  • Change the ip address in the configuration? Or Add more information. – hB0 Mar 02 '17 at 00:49
  • I couldn't find this config property. what is the property name? I have a neo4j instance that accesable in localhost:7474/browser. I want to make recommendation engine for this instance but this example use embedded server. Thanks. – mohammad_1m2 Mar 02 '17 at 08:01

1 Answers1

1

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

Christophe Willemsen
  • 19,399
  • 2
  • 29
  • 36