java - elaticsearch update doc with index api or update api.which is more efficient? -


i using elastic search first time.but can not finalize api use update.it can done update api , index api.but in performance 1 better?

update api , index api 2 different things. in index api , can over-write existing whole documents update api , can change or edit parts of documents.

under hood , both marking original document deleted , creating new document.


Comments