Integration of elasticsearch with neo4j database

后端 未结 2 1271
执笔经年
执笔经年 2021-01-24 20:15

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

2条回答
  •  旧时难觅i
    2021-01-24 21:17

    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
    ...
    

提交回复
热议问题