Skip to content

Commit

Permalink
[DOCS] Correct callouts in search template docs (#47655)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Oct 7, 2019
1 parent e698e68 commit c03cdb4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/reference/search/search-template.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -536,14 +536,14 @@ The `params` would look like:
"params": {
"text": "words to search for",
"line_no": { <1>
"start": 10, <1>
"end": 20 <1>
"start": 10,
"end": 20
}
}
}
------------------------------------------
// NOTCONSOLE
<1> All three of these elements are optional.
<1> The `line_no`, `start`, and `end` parameters are optional.


We could write the query as:
Expand All @@ -565,13 +565,13 @@ We could write the query as:
{{#start}} <3>
"gte": "{{start}}" <4>
{{#end}},{{/end}} <5>
{{/start}} <3>
{{/start}}
{{#end}} <6>
"lte": "{{end}}" <7>
{{/end}} <6>
{{/end}}
}
}
{{/line_no}} <2>
{{/line_no}}
}
}
}
Expand Down

0 comments on commit c03cdb4

Please sign in to comment.