Skip to content

Commit 261e79f

Browse files
committed
[DOCS] Correct callouts in search template docs
1 parent 29c5391 commit 261e79f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/search/search-template.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,14 +491,14 @@ The `params` would look like:
491491
"params": {
492492
"text": "words to search for",
493493
"line_no": { <1>
494-
"start": 10, <1>
495-
"end": 20 <1>
494+
"start": 10,
495+
"end": 20
496496
}
497497
}
498498
}
499499
------------------------------------------
500500
// NOTCONSOLE
501-
<1> All three of these elements are optional.
501+
<1> The `line_no`, `start`, and `end` parameters are optional.
502502

503503
We could write the query as:
504504

@@ -519,13 +519,13 @@ We could write the query as:
519519
{{#start}} <3>
520520
"gte": "{{start}}" <4>
521521
{{#end}},{{/end}} <5>
522-
{{/start}} <3>
522+
{{/start}}
523523
{{#end}} <6>
524524
"lte": "{{end}}" <7>
525-
{{/end}} <6>
525+
{{/end}}
526526
}
527527
}
528-
{{/line_no}} <2>
528+
{{/line_no}}
529529
}
530530
}
531531
}

0 commit comments

Comments
 (0)