Analyzers are the algorithms that determine how a string field in a document is transformed into terms in an inverted index. The goal of analyzer is to convert a string into a series of tokens.