Zarof
Zarof

Reputation: 117

Comparing documents between two indices in OpenSearch

I have an old Java service that inserts data to Opensearch. And a new Java service, that uses different mechanism to insert the data. I want to make sure that I don’t have any gaps, and the new data is equal to the old data.

I was wondering if there is a way to query Opensearch (about multiple documents), and get the results only of such comparison (I have thousands of documents to compare).

Upvotes: 0

Views: 50

Answers (1)

synhershko
synhershko

Reputation: 4492

There's no built-in method for that, you'd have to query and compare; or do full index comparison using the scroll / PIT APIs.

Upvotes: 0

Related Questions