Chapter 5. Combining Indexing, Analysis, and Search
In the previous chapter, we learned how to improve our user's search experience by influencing a document's score, how to use synonyms, and how to handle multilingual data. We also saw what span queries are and why your document was returned. In this chapter, we will look at the possibility of indexing data that is not flat or that is related to other data. We will also use the index update API to modify already created indices, and we will finally learn how to index data in the most efficient way. By the end of this chapter, you will have learned:
How to index tree-like structures
How to modify indices with the update API
How to use nested objects
How to use the parent-child relationship
How to fetch data from external systems
How to use batch processing to speed up indexing