Fixed patch implementation. deleting _id,score while reindexing
Changing type to integer (es doesn't support type number)