The log in Elasticsearch has a property named level, the values are Error, Information, and so on. When searching the log use term query with "Error", the result is empty, but with "error", there is a list of loges.
How to make it case insensitive in term queries?