Ver Fonte

Update getting-started.asciidoc (#23180)

The "sort" and "_score" fields are contained within the "hits" field.
sungjunyoung há 8 anos atrás
pai
commit
ec686b52c1
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/reference/getting-started.asciidoc

+ 2 - 2
docs/reference/getting-started.asciidoc

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