โ Elasticsearch learning pathElasticsearch ยท Module 4 of 10
Search queries
The Query DSL describes searches in JSON.
๐ Key ideas
- match does full-text search on analyzed text.
- term does exact matches on keyword fields.
- bool combines must, should, must_not and filter clauses.
- filter clauses do not affect scoring and can be cached.
- range queries handle numbers and dates.
๐ก Real-life example: Like asking a librarian: "books about Python (must), preferably by Indian authors (should), not older than 2020 (filter)".
matchFull-text query on analyzed fields
termExact value query
boolCombines several query clauses
filterYes/no condition with no scoring