Difference between index and update with doc_as_upsert

I am trying to find out what is the difference between using "index" versus using "update with doc_as_upsert set to true".
Which one is better from a performance perspective?
Thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.