Typically, the programmer has the control to build complex query using Boolean query and the other query types. Thus, Elasticsearch provides two kinds of queries that give the user the ability to create string queries with several operators in it.
These kinds of queries are very common on advanced search engine usage, such as Google, which allow us to use the + and - operators on terms.