فهرست منبع

Adding a warning to from-size.asciidoc

Customers occasionally discover a known behavior in Elasticsearch's pagination that does not appear to be documented. This warning is intended to educate customers of this behavior while still highlighting alternative solutions.
Nathan Howard 6 سال پیش
والد
کامیت
df51be533f
1فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 8 2
      docs/reference/search/request/from-size.asciidoc

+ 8 - 2
docs/reference/search/request/from-size.asciidoc

@@ -24,5 +24,11 @@ GET /_search
 
 
 Note that `from` + `size` can not be more than the `index.max_result_window`
-index setting which defaults to 10,000. See the <<request-body-search-scroll,Scroll>> or <<request-body-search-search-after,Search After>>
-API for more efficient ways to do deep scrolling.
+index setting, which defaults to 10,000.
+
+WARNING: {es} uses Lucene's internal doc IDs as tie-breakers. These internal
+doc IDs can be completely different across replicas of the same
+data. When paginating, you might occasionally see that documents with the same
+sort values are not ordered consistently. For deep scrolling, it is more
+efficient to use the <<request-body-search-scroll,Scroll>> or 
+<<request-body-search-search-after,Search After>> APIs.