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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -