Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Falcon Sprint 114, Falcon Sprint 115
-
1
-
Falcon
Description
It is common case that Elasticsearch mapping has a breaking change, and we have to drop existing index and create it again and then start reindex.
All these 3 actions has to be done manually by an administrator, it is better to encapsulate it inside mod-search.
Introduce recreateIndex boolean property for /search/index/inventory/reindex API, and it should behave as following.
- Given recreateIndex is true
- Than do the following before starting reindex operation:
- Drop existing index
- Create index with the latest mappings
- Start reindex operation.
- Than do the following before starting reindex operation:
- Given recreateIndex is false or unspecified
- Than just start reindex operation (as it is currently)
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3042 mod-search maintenance
-
- Closed
-