Bläddra i källkod

Update getting-started.asciidoc (#23180)

The "sort" and "_score" fields are contained within the "hits" field.
sungjunyoung 8 år sedan
förälder
incheckning
ec686b52c1
1 ändrade filer med 2 tillägg och 2 borttagningar
  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` – search results
 * `hits.total` – total number of documents matching our search criteria
 * `hits.total` – total number of documents matching our search criteria
 * `hits.hits` – actual array of search results (defaults to first 10 documents)
 * `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:
 Here is the same exact search above using the alternative request body method: