Browse Source

Fix _xpack/usage for enterprise_search in docs tests (#95845)

The previous fix (#95565) didn't work since the section was misplaced.
Note that this test runs only on snapshot build so I tested manually and the failure is now related to remote_clusters section missing.

Closes #95603
Jim Ferenczi 2 năm trước cách đây
mục cha
commit
154176b607
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      docs/reference/rest-api/usage.asciidoc

+ 7 - 7
docs/reference/rest-api/usage.asciidoc

@@ -129,13 +129,6 @@ GET /_xpack/usage
         }
       }
     },
-    "enterprise_search" : {
-      "available": true,
-      "enabled": true,
-      "search_applications" : {
-        "count": 0
-      }
-    },
     "inference" : {
       "ingest_processors" : {
         "_all" : {
@@ -414,6 +407,13 @@ GET /_xpack/usage
     "invocations": {
       "total": 0
     }
+  },
+  "enterprise_search" : {
+    "available": true,
+    "enabled": true,
+    "search_applications" : {
+      "count": 0
+    }
   }
 }
 ------------------------------------------------------------