Add inner field and update documents

Hello everyone!

I changed mapping by adding 'string' inner field of 'text' type to already existing 'amount' field of a 'double' type:
"amount": {
"type": "double",
"fields": {
"string": {
"type": "text" - new inner field
and new documents work fine, but I need to update all previously stored documents, so I could search them by that 'string' field. I tried with _update_by_query and reindexing, but nothing worked and I couldn't find solution so far.
Is it possible to somehow update all documents or do I need to re-upload all them?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.