By using AWS re:Post, you agree to the Terms of Use

Connecting Neptune with OpenSearch


I am trying to connect Neptune and OpenSearch, i have 1 main problem to address. 1)we have 2 clusters of neptune, each rebuild themselves with newdata everyday so everyday we get a new graph, how do i keep them in sync with opensearch?should i delete data in opensearch everyday and do the export job or is there any other solution for this?thanks in advance

1 Answers

Have you seen the Neptune-to-OpenSearch integration? This uses Neptune Streams to keep an OS index up-to-date with a Neptune cluster. This is primarily used to enable Neptune's Full-Text-Search feature. It requires a separate OS cluster per Neptune cluster, as the index name that is used by this feature is hardcoded. So if both of your Neptune clusters have different datasets, you would need two different OS clusters, one for each Neptune cluster.

If the intent is to keep a bespoke OS index updated from data written to Neptune, you can modify the poller code in this stack to build whatever index to you want. You could even modify this to use two different named indices in OS to maintain just a single cluster, but that would only be for non-FTS use cases.

profile picture
answered 16 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions