Chapter 2. Indexing Your Data
In the previous chapter, we learned the basics about full text search and Elasticsearch. We also saw what Apache Lucene is. In addition to that, we saw how to install Elasticsearch, what the standard directory layout is, and what to pay attention to. We created an index, and we indexed and updated our data. Finally, we used the simple URI query to get data from Elasticsearch. By the end of this chapter, you will learn the following topics:
Elasticsearch indexing
Configuring your index structure mappings and knowing what field types we are allowed to use
Using batch indexing to speed up the indexing process
Extending your index structure with additional internal information
Understanding what segment merging is, how to configure it, and what throttling is
Understanding how routing works and how we can configure it to our needs