Is it possible to set a custom analyzer to not tokenize in elasticsearch? The Keyword tokenizer is what you are looking for.