File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
docs/reference/migration/migrate_7_0 Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -214,19 +214,21 @@ with a `value` and a `relation`. `value` indicates the number of hits that
214214match 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
230232documents ("eq"). The `value` is always accurate (`"relation": "eq"`) when
231233`track_total_hits` is set to true in the request.
232234You can also retrieve `hits.total` as a number in the rest response by adding
You can’t perform that action at this time.
0 commit comments