Skip to content

Commit a9bcb90

Browse files
Auto-generated API code (#3585)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent d2bbb34 commit a9bcb90

3 files changed

Lines changed: 1 addition & 53 deletions

File tree

‎elasticsearch/_async/client/ml.py‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,6 @@ async def put_data_frame_analytics(
34733473
"indices",
34743474
"indices_options",
34753475
"job_id",
3476-
"max_consecutive_extraction_failures",
34773476
"max_empty_searches",
34783477
"query",
34793478
"query_delay",
@@ -3511,7 +3510,6 @@ async def put_datafeed(
35113510
indices: t.Optional[t.Union[str, t.Sequence[str]]] = None,
35123511
indices_options: t.Optional[t.Mapping[str, t.Any]] = None,
35133512
job_id: t.Optional[str] = None,
3514-
max_consecutive_extraction_failures: t.Optional[int] = None,
35153513
max_empty_searches: t.Optional[int] = None,
35163514
pretty: t.Optional[bool] = None,
35173515
query: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3586,13 +3584,6 @@ async def put_datafeed(
35863584
:param indices_options: Specifies index expansion options that are used during
35873585
search
35883586
:param job_id: Identifier for the anomaly detection job.
3589-
:param max_consecutive_extraction_failures: The maximum number of consecutive
3590-
real-time data extraction failures the datafeed tolerates before it automatically
3591-
stops itself, leaving the associated job open. The consecutive-failure counter
3592-
resets on any cycle that extracts successfully, including empty-data cycles.
3593-
If not set, the threshold defaults to roughly one day's worth of searches
3594-
based on the datafeed `frequency` (floored at 1). Set to `-1` to disable
3595-
auto-stop and retry indefinitely. Values of `0` or less than `-1` are rejected.
35963587
:param max_empty_searches: If a real-time datafeed has never seen any data (including
35973588
during any initial training period), it automatically stops and closes the
35983589
associated job after this many real-time searches return no documents. In
@@ -3659,10 +3650,6 @@ async def put_datafeed(
36593650
__body["indices_options"] = indices_options
36603651
if job_id is not None:
36613652
__body["job_id"] = job_id
3662-
if max_consecutive_extraction_failures is not None:
3663-
__body["max_consecutive_extraction_failures"] = (
3664-
max_consecutive_extraction_failures
3665-
)
36663653
if max_empty_searches is not None:
36673654
__body["max_empty_searches"] = max_empty_searches
36683655
if query is not None:
@@ -5065,7 +5052,6 @@ async def update_data_frame_analytics(
50655052
"indices",
50665053
"indices_options",
50675054
"job_id",
5068-
"max_consecutive_extraction_failures",
50695055
"max_empty_searches",
50705056
"query",
50715057
"query_delay",
@@ -5100,7 +5086,6 @@ async def update_datafeed(
51005086
indices: t.Optional[t.Sequence[str]] = None,
51015087
indices_options: t.Optional[t.Mapping[str, t.Any]] = None,
51025088
job_id: t.Optional[str] = None,
5103-
max_consecutive_extraction_failures: t.Optional[int] = None,
51045089
max_empty_searches: t.Optional[int] = None,
51055090
pretty: t.Optional[bool] = None,
51065091
query: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -5167,13 +5152,6 @@ async def update_datafeed(
51675152
:param indices_options: Specifies index expansion options that are used during
51685153
search.
51695154
:param job_id:
5170-
:param max_consecutive_extraction_failures: The maximum number of consecutive
5171-
real-time data extraction failures the datafeed tolerates before it automatically
5172-
stops itself, leaving the associated job open. The consecutive-failure counter
5173-
resets on any cycle that extracts successfully, including empty-data cycles.
5174-
If not set, the threshold defaults to roughly one day's worth of searches
5175-
based on the datafeed `frequency` (floored at 1). Set to `-1` to disable
5176-
auto-stop and retry indefinitely. Values of `0` or less than `-1` are rejected.
51775155
:param max_empty_searches: If a real-time datafeed has never seen any data (including
51785156
during any initial training period), it automatically stops and closes the
51795157
associated job after this many real-time searches return no documents. In
@@ -5242,10 +5220,6 @@ async def update_datafeed(
52425220
__body["indices_options"] = indices_options
52435221
if job_id is not None:
52445222
__body["job_id"] = job_id
5245-
if max_consecutive_extraction_failures is not None:
5246-
__body["max_consecutive_extraction_failures"] = (
5247-
max_consecutive_extraction_failures
5248-
)
52495223
if max_empty_searches is not None:
52505224
__body["max_empty_searches"] = max_empty_searches
52515225
if query is not None:

‎elasticsearch/_sync/client/ml.py‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,6 @@ def put_data_frame_analytics(
34733473
"indices",
34743474
"indices_options",
34753475
"job_id",
3476-
"max_consecutive_extraction_failures",
34773476
"max_empty_searches",
34783477
"query",
34793478
"query_delay",
@@ -3511,7 +3510,6 @@ def put_datafeed(
35113510
indices: t.Optional[t.Union[str, t.Sequence[str]]] = None,
35123511
indices_options: t.Optional[t.Mapping[str, t.Any]] = None,
35133512
job_id: t.Optional[str] = None,
3514-
max_consecutive_extraction_failures: t.Optional[int] = None,
35153513
max_empty_searches: t.Optional[int] = None,
35163514
pretty: t.Optional[bool] = None,
35173515
query: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3586,13 +3584,6 @@ def put_datafeed(
35863584
:param indices_options: Specifies index expansion options that are used during
35873585
search
35883586
:param job_id: Identifier for the anomaly detection job.
3589-
:param max_consecutive_extraction_failures: The maximum number of consecutive
3590-
real-time data extraction failures the datafeed tolerates before it automatically
3591-
stops itself, leaving the associated job open. The consecutive-failure counter
3592-
resets on any cycle that extracts successfully, including empty-data cycles.
3593-
If not set, the threshold defaults to roughly one day's worth of searches
3594-
based on the datafeed `frequency` (floored at 1). Set to `-1` to disable
3595-
auto-stop and retry indefinitely. Values of `0` or less than `-1` are rejected.
35963587
:param max_empty_searches: If a real-time datafeed has never seen any data (including
35973588
during any initial training period), it automatically stops and closes the
35983589
associated job after this many real-time searches return no documents. In
@@ -3659,10 +3650,6 @@ def put_datafeed(
36593650
__body["indices_options"] = indices_options
36603651
if job_id is not None:
36613652
__body["job_id"] = job_id
3662-
if max_consecutive_extraction_failures is not None:
3663-
__body["max_consecutive_extraction_failures"] = (
3664-
max_consecutive_extraction_failures
3665-
)
36663653
if max_empty_searches is not None:
36673654
__body["max_empty_searches"] = max_empty_searches
36683655
if query is not None:
@@ -5065,7 +5052,6 @@ def update_data_frame_analytics(
50655052
"indices",
50665053
"indices_options",
50675054
"job_id",
5068-
"max_consecutive_extraction_failures",
50695055
"max_empty_searches",
50705056
"query",
50715057
"query_delay",
@@ -5100,7 +5086,6 @@ def update_datafeed(
51005086
indices: t.Optional[t.Sequence[str]] = None,
51015087
indices_options: t.Optional[t.Mapping[str, t.Any]] = None,
51025088
job_id: t.Optional[str] = None,
5103-
max_consecutive_extraction_failures: t.Optional[int] = None,
51045089
max_empty_searches: t.Optional[int] = None,
51055090
pretty: t.Optional[bool] = None,
51065091
query: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -5167,13 +5152,6 @@ def update_datafeed(
51675152
:param indices_options: Specifies index expansion options that are used during
51685153
search.
51695154
:param job_id:
5170-
:param max_consecutive_extraction_failures: The maximum number of consecutive
5171-
real-time data extraction failures the datafeed tolerates before it automatically
5172-
stops itself, leaving the associated job open. The consecutive-failure counter
5173-
resets on any cycle that extracts successfully, including empty-data cycles.
5174-
If not set, the threshold defaults to roughly one day's worth of searches
5175-
based on the datafeed `frequency` (floored at 1). Set to `-1` to disable
5176-
auto-stop and retry indefinitely. Values of `0` or less than `-1` are rejected.
51775155
:param max_empty_searches: If a real-time datafeed has never seen any data (including
51785156
during any initial training period), it automatically stops and closes the
51795157
associated job after this many real-time searches return no documents. In
@@ -5242,10 +5220,6 @@ def update_datafeed(
52425220
__body["indices_options"] = indices_options
52435221
if job_id is not None:
52445222
__body["job_id"] = job_id
5245-
if max_consecutive_extraction_failures is not None:
5246-
__body["max_consecutive_extraction_failures"] = (
5247-
max_consecutive_extraction_failures
5248-
)
52495223
if max_empty_searches is not None:
52505224
__body["max_empty_searches"] = max_empty_searches
52515225
if query is not None:

‎elasticsearch/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
__versionstr__ = "8.19.3"
19-
__es_specification_commit__ = "4340716a5cdb8b75654131337835e74e1f5c4c80"
19+
__es_specification_commit__ = "66b2f4efc86f106ad7a869fe474b77ef3a3a77f9"

0 commit comments

Comments
 (0)