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

javascript - generate date range base on integers -

PHP and MySQL WP -