Am trying to use elasticsearch with my neo4j database for fast querying.I tried many sites but they are all old articles so i didn\'t get any clear idea. Steps I followed until
For those of you who already have APOC plugin installed and accessible, but don't have access to the neo4j.properties file (or are more comfortable working with ES through curl) you can do this without using apoc.es.getRaw
and can instead use the JSON returned with apoc.load.json
:
WITH "http://myelasticurl:9200/my_index/_search?q=level:ERROR" as search_url
CALL apoc.load.json(search_url) YIELD value
UNWIND value.hits.hits as hit
WITH hit._source as source
...
# do work
...