Too Long; Didn't Read
A good search engine is a search engine that returns relevant documents. Elasticsearch uses Analyzer to control which documents are more relevant when querying. Inverted Index is a data structure for storing a mapping between token to document identifiers that have the term. An Analyzer will first transform and split the text into tokens before saving it to the Inverted index. The analyzer will affect how we search the text, but it won’t affect the content of the text itself. The Elasticsearch will only get the documents with the same term as the one queried.