Introduction
In this chapter, we will see queries that are used for searching text and numeric values. They are simpler and the most common ones to be used in Elasticsearch.
The first part of the chapter covers the text queries from the simple term and terms query to the complex query string query. We'll understand how the queries are strongly related to the mapping for choosing the correct query based on mapping.
In the last part of the chapter, we will see some special query that covers fields, helpers for building complex queries from strings, and query templates.