Skip to content

Commit 1d425c2

Browse files
committed
Indentation
1 parent 1ead710 commit 1d425c2

File tree

1 file changed

+43
-40
lines changed

1 file changed

+43
-40
lines changed

docs/reference/quickstart/full-text-filtering-tutorial.asciidoc

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -521,46 +521,49 @@ Let's create a query that addresses the following user needs:
521521
----
522522
GET /cooking_blog/_search
523523
{
524-
"query": {
525-
"bool": {
526-
"must": [
527-
{
528-
"range": {
529-
"rating": {
530-
"gte": 4.5
531-
}
532-
}
533-
}
534-
],
535-
"should": [
536-
{
537-
"term": {
538-
"category": "Main Course"
539-
}
540-
},
541-
{
542-
"multi_match": {
543-
"query": "curry spicy",
544-
"fields": ["title^2", "description"]
545-
}
546-
},
547-
{
548-
"range": {
549-
"date": {
550-
"gte": "now-1M/d"
551-
}
552-
}
553-
}
554-
],
555-
"must_not": [ <1>
556-
{
557-
"term": {
558-
"category": "Dessert"
559-
}
560-
}
561-
]
562-
}
563-
}
524+
"query": {
525+
"bool": {
526+
"must": [
527+
{
528+
"range": {
529+
"rating": {
530+
"gte": 4.5
531+
}
532+
}
533+
}
534+
],
535+
"should": [
536+
{
537+
"term": {
538+
"category": "Main Course"
539+
}
540+
},
541+
{
542+
"multi_match": {
543+
"query": "curry spicy",
544+
"fields": [
545+
"title^2",
546+
"description"
547+
]
548+
}
549+
},
550+
{
551+
"range": {
552+
"date": {
553+
"gte": "now-1M/d"
554+
}
555+
}
556+
}
557+
],
558+
"must_not": [ <1>
559+
{
560+
"term": {
561+
"category": "Dessert"
562+
}
563+
}
564+
]
565+
}
566+
}
564567
}
565568
----
566569
// TEST[continued]

0 commit comments

Comments
 (0)