cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Integrate neo4j with elasticsearch

rosdiana
Node Clone

Hi,

i want to integrate neo4j with elasticsearch. I followed https://github.com/neo4j-contrib/neo4j-elasticsearch

  1. i already put jar to the folder /var/lib/neo4j/plugins
  2. i already modify /etc/neo4j/neo4j.conf and added those line shown in pic below:

  1. rrestart neo4j

  2. open localhost:9200 but the result error using this url http://localhost:9200/person/_search?q=name:Rain

2X_e_e2449fe111777c953b97e0d8b07bad4f937381ba.png

what did i do wrong?

Thank you for helps.

1 ACCEPTED SOLUTION

rosdiana
Node Clone

Done to export movie database to elasticsearch using this command.

MATCH (n:Movie) 
Call apoc.es.post("localhost","movie_cluster","movie",toString(id(n)),{title:n.title,tag:n.tagline}) 
yield value return *

View solution in original post

3 REPLIES 3

Which neo4j version did you use?
The plugin was not updated to recent versions of Neo4j.

Can you check the neo4j logs for any error messages.

i success show data after install elastic search 7.1

I use neo4j version 4.2. i push data using this command

call apoc.es.post("localhost","tweets","users",null,{name:"Chris"})

Then i go to url localhost:9200

it shows the data.

But i want to show the data from movie-graph database in elasticsearch. I noticed that the new version to integrate neo4j and elasticsearch is using APOC.

But i don't know how to do that.

Thank you.

rosdiana
Node Clone

Done to export movie database to elasticsearch using this command.

MATCH (n:Movie) 
Call apoc.es.post("localhost","movie_cluster","movie",toString(id(n)),{title:n.title,tag:n.tagline}) 
yield value return *