mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
1.0 KiB
1.0 KiB
Should Query
The should query is a boolean query that returns documents matching one or more of its sub-queries. It increases the relevance score for each matching clause, but doesn't require any clauses to match for a document to be included in the results. If no other boolean queries like must or filter are present, at least one should clause must match.
Visit the following resources to learn more:
- @official@Boolean query
- @article@Elasticsearch Query Bool
- @article@Elasticsearch Bool Query - Syntax, Example, and Tips
- @video@Boolean Query in Elasticsearch | Bool, Filter, Must, Must Not, Should, DSL | ES7 for Beginners #4.3
- @video@Elasticsearch Bool Query (Should & Filter Clauses) - S1E14: Mini Beginner's Crash Course