Often our indexed data is full of less important words (stop words) such as "the", "or" and "a". ES documentation suggests we deal with this using a common terms query
, which prioritizes more important (low frequency) words. It's important that we keep stop words in our indexed data we just have to treat them differently. Removing stop words completely causes the index to lose some of the meaning in each string. For example, removing stop words from "to be or not to be"
would yield an empty string ""
.