0

Currently working with a large database that typically takes 2-3 days to reindex completely, and I only need to add a new field to the mapping for a specific table.

  1. What could be a possible solution to skip reindexing?
  2. What is the possible way to do it in minimum time?

1 Answers1

0

Adding a new field to the index does not require full re-indexing. You can use the Bulk APIs update operation to populate the data for new field

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

Harini
  • 105
  • 3
  • 13
  • Hi, Thanks for the comment but can you explain how it gone a work in my scenario. Like by only updating it will create the new mapping as well for required field.? – Hamza Dabeer khan Jul 19 '23 at 08:37