Updating document type

Currently we have index with only one document type. The document structure is very different for different type of data sets. It will be helpful to group related documents in separate type of documents. wondering can I update _type property of document based on query?

Only by reindexing the document.

You'd be much better off splitting this into different indices.