Create new document in elasticsearch for every stored document -


i trying find way how can migrate documents stored in elasticsearch new structure. e.g. have type 'a'. every document in 'a' want create new document in different type (e.g. 'b') , bind them parent-child relationship. change due refactoring of model. thought can groovy script , using reindex api, cannot find way how can index document groovy script.

is possible via elasticsearch scripting? if not alternatives have?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -