In this chapter, you learned how to index and update your data. We discussed the various Elasticsearch clients available and how to use them. We discussed what happens internally when you index or update. You also learned about refresh interval and why there is a delay between indexing your data and it being available for search. We also covered how Elasticsearch deals with concurrency, and how data is synchronized between primary and replica shards.
In the next chapter, will discuss the various bulk APIs Elasticsearch has to offer and how to organize your data.