Skip to content

Commit 3f05186

Browse files
committed
[DOCS] Fixes formatting in breaking changes
1 parent bf067ad commit 3f05186

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
@@ -214,19 +214,21 @@ with a `value` and a `relation`. `value` indicates the number of hits that
214214
match and `relation` indicates whether the value is accurate (`eq`) or a lower bound
215215
(`gte`):
216216

217-
```
217+
[source,js]
218+
--------------------------------------------------
218219
{
219220
"hits": {
220-
"total": { <1>
221+
"total": {
221222
"value": 1000,
222223
"relation": "eq"
223224
},
224225
...
225226
}
226227
}
227-
```
228+
--------------------------------------------------
229+
// NOTCONSOLE
228230

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

0 commit comments

Comments
 (0)