|
@@ -677,8 +677,8 @@ As for the response, we see the following parts:
|
|
|
* `hits` – search results
|
|
|
* `hits.total` – total number of documents matching our search criteria
|
|
|
* `hits.hits` – actual array of search results (defaults to first 10 documents)
|
|
|
-* `sort` - sort key for results (missing if sorting by score)
|
|
|
-* `_score` and `max_score` - ignore these fields for now
|
|
|
+* `hits.sort` - sort key for results (missing if sorting by score)
|
|
|
+* `hits._score` and `max_score` - ignore these fields for now
|
|
|
|
|
|
Here is the same exact search above using the alternative request body method:
|
|
|
|