Skip to content

Commit 85848af

Browse files
committed
[DOCS] Fixes formatting in breaking changes
1 parent db7f000 commit 85848af

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/reference/migration/migrate_7_0/search.asciidoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,19 +213,21 @@ with a `value` and a `relation`. `value` indicates the number of hits that
213213
match and `relation` indicates whether the value is accurate (`eq`) or a lower bound
214214
(`gte`):
215215

216-
```
216+
[source,js]
217+
--------------------------------------------------
217218
{
218219
"hits": {
219-
"total": { <1>
220+
"total": {
220221
"value": 1000,
221222
"relation": "eq"
222223
},
223224
...
224225
}
225226
}
226-
```
227+
--------------------------------------------------
228+
// NOTCONSOLE
227229

228-
The "total" object in the response indicates that the query matches exactly 1000
230+
The `total` object in the response indicates that the query matches exactly 1000
229231
documents ("eq"). The `value` is always accurate (`"relation": "eq"`) when
230232
`track_total_hits` is set to true in the request.
231233
You can also retrieve `hits.total` as a number in the rest response by adding

0 commit comments

Comments
 (0)