Home > database >  Synonyms OpenSearch
Synonyms OpenSearch

Time:12-23

Can I add a synonyms file to an existing OpenSearch Index or will I have to create a new Index and Put all my documents in new Index. If second option then how to Transfer all Documents from one Index to a new Index?

I tried to create a new test Index an put the Synonyms file and it worked but now I want to to add it to my main Index that contains 70K documents.

CodePudding user response:

I recommend to use the Reindex API. Set wait_for_completion to false (Running reindex asynchronously) and get the task id. Use task_id in Task API to follow status of reindexing.

  • Related