How does the elasticsearch expand capacity and shrink capacity?

It looks like you corrected it to TB. What is the use case? What type of data do you have? The reason I am asking this is that it impacts how you best manage your data.