The literal tokenizer is not ideal for text search queries like
match or
phrase. If you need to do text search over
a field that is literal tokenized, consider using multiple
tokenizers.
Because the literal tokenizer preserves the source text exactly, token
filters cannot be configured for this
tokenizer.
uuid fields (since
exact UUID matching is a common use case), and is useful for doing exact string matching over text fields.
It is also required if the text field is used as a sort field in a Top N query,
or as part of an aggregate.
Expected Response