[TEST] SearchDocumentationIT#testSearch to sort on _uid instead of _id
@@ -142,7 +142,7 @@ public class SearchDocumentationIT extends ESRestHighLevelClientTestCase {
// tag::search-source-sorting
sourceBuilder.sort(new ScoreSortBuilder().order(SortOrder.DESC)); // <1>
- sourceBuilder.sort(new FieldSortBuilder("_id").order(SortOrder.ASC)); // <2>
+ sourceBuilder.sort(new FieldSortBuilder("_uid").order(SortOrder.ASC)); // <2>
// end::search-source-sorting
// tag::search-source-filtering-off
