What the difference between shrink api and reindex api

Hi all
After briefly read about shrink api i see that it is no diff from the reindex api except the syntax, so what is the true diff between them and what is the benefit of using shrink api and using reindex api

Thank for your time

Reindexing is typically a lot more resource intensive as all documents need to be reprocessed. The shrink index API combines the existing segments without reprocessing, so is a lot faster and results in less CPU and disk I/O usage. The bigger the index the bigger the difference.

1 Like

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