In the previous chapter, we looked at how to back up and restore our data. We examined the snapshot repository and snapshot/restore process functionality. We talked about configuration details to snapshot and restore. Finally, we discussed how the snapshot process works and the form of snapshot files. In this chapter, we will examine the Elasticsearch Suggest API to correct user's spelling mistakes and we will look closely at the various functionalities provided by Elasticsearch to improve the relevancy of search results. By the end of this chapter, we will have covered:
How to correct user's spelling mistakes
How to use the term suggester
How to use the phrase suggester
How to provide the autocomplete functionality for the user
How to use boosting
How to use synonyms