-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
Team:DeveloperIssues owned by the Developer Docs TeamIssues owned by the Developer Docs Teamcommunitysource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs
Description
Type of issue
Other
What documentation page is affected
https://www.elastic.co/docs/reference/query-languages/query-dsl/full-text-filter-tutorial
What happened?
I am a beginner who has just started learning Elasticsearch and have some doubts about a DSL statement example on the official website。
GET /cooking_blog/_search { "query": { "bool": { "must": [ { "term": { "tags": "vegetarian" } }, { "range": { "rating": { "gte": 4.5 } } } ], "should": [ { "term": { "category": "Main Course" } }, { "multi_match": { "query": "curry spicy", "fields": [ "title^2", "description" ] } }, { "range": { "date": { "gte": "now-1M/d" } } } ], "must_not": [ { "term": { "category.keyword": "Dessert" } } ] } } }
This is an example of boolean query on the official website

Additional info
No response
Metadata
Metadata
Assignees
Labels
Team:DeveloperIssues owned by the Developer Docs TeamIssues owned by the Developer Docs Teamcommunitysource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs