rosdiana
(Rosdiana)
December 14, 2020, 7:53am
1
Hi,
i want to integrate neo4j with elasticsearch. I followed GitHub - neo4j-contrib/neo4j-elasticsearch: Neo4j ElasticSearch Integration
i already put jar to the folder /var/lib/neo4j/plugins
i already modify /etc/neo4j/neo4j.conf and added those line shown in pic below:
rrestart neo4j
open localhost:9200 but the result error using this url http://localhost:9200/person/_search?q=name:Rain
what did i do wrong?
Thank you for helps.
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.
rosdiana
(Rosdiana)
December 21, 2020, 11:21am
3
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
(Rosdiana)
December 21, 2020, 4:13pm
4
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 *