Browse Source

[DOCS] Fix typos in several REST API specs (#51197)

Changes `effected` to `affected` in several REST API spec files.
Dan Pickett 5 years ago
parent
commit
c3b5f713e2

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json

@@ -58,7 +58,7 @@
           "false",
           "wait_for"
         ],
-        "description":"If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
+        "description":"If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
       },
       "routing":{
         "type":"string",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/delete.json

@@ -62,7 +62,7 @@
           "false",
           "wait_for"
         ],
-        "description":"If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
+        "description":"If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
       },
       "routing":{
         "type":"string",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json

@@ -146,7 +146,7 @@
       },
       "refresh":{
         "type":"boolean",
-        "description":"Should the effected indexes be refreshed?"
+        "description":"Should the affected indexes be refreshed?"
       },
       "timeout":{
         "type":"time",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json

@@ -18,7 +18,7 @@
     "params":{
       "refresh":{
         "type":"boolean",
-        "description":"Should the effected indexes be refreshed?"
+        "description":"Should the affected indexes be refreshed?"
       },
       "timeout":{
         "type":"time",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/update.json

@@ -78,7 +78,7 @@
           "false",
           "wait_for"
         ],
-        "description":"If `true` then refresh the effected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
+        "description":"If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
       },
       "retry_on_conflict":{
         "type":"number",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json

@@ -154,7 +154,7 @@
       },
       "refresh":{
         "type":"boolean",
-        "description":"Should the effected indexes be refreshed?"
+        "description":"Should the affected indexes be refreshed?"
       },
       "timeout":{
         "type":"time",