hi ivyteam As far as i know, when we use ivy.repo() from ivy, data will be stored to table IWA.BusinessData and indexed to Elastic Search cluster. Normally ivy will create that index from that table when it start by this command: In my case, i want to do it in opposite way that collecting data from index table then persist to IWA.BusinessData, just imagine that table has lost data for some reasons so i want to recover it. Can i do it in ivy? Thanks asked 08.08.2017 at 06:58 trungdv |
You could do it if you have a very primitive data structure - but it is a task where you will get very dirty hands. Because the structure of the JSON in Elastic Search is optimized for search while the JSON in IWA_BusinessData is optimized for beeing perfectly serializable by Java. Main differences:
So no. In case of a data loss, one should better restore the data from a backup dump of the database. But you can try to re-store the JSON structure that IWA_BusinessData likes if you have a very simple object hierarchy - because then the JSON may could be easily refactored by hand. answered 08.08.2017 at 08:00 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 08.08.2017 at 06:58
Seen: 2,169 times
Last updated: 08.08.2017 at 08:11