Update getting-started.asciidoc (#23180)

The "sort" and "_score" fields are contained within the "hits" field.
This commit is contained in:
sungjunyoung 2017-02-15 18:54:26 +09:00 committed by Clinton Gormley
parent 139eb69fe4
commit ec686b52c1
1 changed files with 2 additions and 2 deletions

View File

@ -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: