Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2191,20 +2191,20 @@
'ml._types.CategorizationAnalyzerDefinition': 'ml/_types/Analysis.ts#L119-L133',
'ml._types.CategorizationStatus': 'ml/_types/Model.ts#L84-L87',
'ml._types.Category': 'ml/_types/Category.ts#L23-L49',
'ml._types.ChunkingConfig': 'ml/_types/Datafeed.ts#L255-L268',
'ml._types.ChunkingMode': 'ml/_types/Datafeed.ts#L249-L253',
'ml._types.ChunkingConfig': 'ml/_types/Datafeed.ts#L251-L264',
'ml._types.ChunkingMode': 'ml/_types/Datafeed.ts#L245-L249',
'ml._types.ClassificationInferenceOptions': 'ml/_types/inference.ts#L118-L133',
'ml._types.CommonTokenizationConfig': 'ml/_types/inference.ts#L160-L186',
'ml._types.ConditionOperator': 'ml/_types/Rule.ts#L74-L79',
'ml._types.DataCounts': 'ml/_types/Job.ts#L354-L374',
'ml._types.DataDescription': 'ml/_types/Job.ts#L376-L392',
'ml._types.Datafeed': 'ml/_types/Datafeed.ts#L37-L61',
'ml._types.DatafeedAuthorization': 'ml/_types/Authorization.ts#L31-L43',
'ml._types.DatafeedConfig': 'ml/_types/Datafeed.ts#L63-L124',
'ml._types.DatafeedRunningState': 'ml/_types/Datafeed.ts#L214-L228',
'ml._types.DatafeedState': 'ml/_types/Datafeed.ts#L140-L145',
'ml._types.DatafeedStats': 'ml/_types/Datafeed.ts#L147-L176',
'ml._types.DatafeedTimingStats': 'ml/_types/Datafeed.ts#L178-L206',
'ml._types.DatafeedConfig': 'ml/_types/Datafeed.ts#L63-L120',
'ml._types.DatafeedRunningState': 'ml/_types/Datafeed.ts#L210-L224',
'ml._types.DatafeedState': 'ml/_types/Datafeed.ts#L136-L141',
'ml._types.DatafeedStats': 'ml/_types/Datafeed.ts#L143-L172',
'ml._types.DatafeedTimingStats': 'ml/_types/Datafeed.ts#L174-L202',
'ml._types.DataframeAnalysis': 'ml/_types/DataframeAnalytics.ts#L134-L213',
'ml._types.DataframeAnalysisAnalyzedFields': 'ml/_types/DataframeAnalytics.ts#L238-L244',
'ml._types.DataframeAnalysisClassification': 'ml/_types/DataframeAnalytics.ts#L227-L236',
Expand Down Expand Up @@ -2242,7 +2242,7 @@
'ml._types.DataframeEvaluationRegressionMetricsHuber': 'ml/_types/DataframeEvaluation.ts#L117-L120',
'ml._types.DataframeEvaluationRegressionMetricsMsle': 'ml/_types/DataframeEvaluation.ts#L112-L115',
'ml._types.DataframeState': 'ml/_types/Dataframe.ts#L20-L26',
'ml._types.DelayedDataCheckConfig': 'ml/_types/Datafeed.ts#L126-L137',
'ml._types.DelayedDataCheckConfig': 'ml/_types/Datafeed.ts#L122-L133',
'ml._types.DeploymentAllocationState': 'ml/_types/TrainedModel.ts#L331-L344',
'ml._types.DeploymentAssignmentState': 'ml/_types/TrainedModel.ts#L346-L363',
'ml._types.DetectionRule': 'ml/_types/Rule.ts#L25-L39',
Expand All @@ -2252,7 +2252,7 @@
'ml._types.DiscoveryNodeCompact': 'ml/_types/DiscoveryNode.ts#L39-L48',
'ml._types.DiscoveryNodeContent': 'ml/_types/DiscoveryNode.ts#L27-L37',
'ml._types.ExcludeFrequent': 'ml/_types/Detector.ts#L91-L96',
'ml._types.ExponentialAverageCalculationContext': 'ml/_types/Datafeed.ts#L208-L212',
'ml._types.ExponentialAverageCalculationContext': 'ml/_types/Datafeed.ts#L204-L208',
'ml._types.FillMaskInferenceOptions': 'ml/_types/inference.ts#L284-L299',
'ml._types.FillMaskInferenceUpdateOptions': 'ml/_types/inference.ts#L430-L437',
'ml._types.Filter': 'ml/_types/Filter.ts#L22-L29',
Expand Down Expand Up @@ -2302,7 +2302,7 @@
'ml._types.RoutingState': 'ml/_types/TrainedModel.ts#L408-L429',
'ml._types.RuleAction': 'ml/_types/Rule.ts#L41-L50',
'ml._types.RuleCondition': 'ml/_types/Rule.ts#L52-L65',
'ml._types.RunningStateSearchInterval': 'ml/_types/Datafeed.ts#L230-L247',
'ml._types.RunningStateSearchInterval': 'ml/_types/Datafeed.ts#L226-L243',
'ml._types.SnapshotUpgradeState': 'ml/_types/Model.ts#L95-L100',
'ml._types.TextClassificationInferenceOptions': 'ml/_types/inference.ts#L202-L214',
'ml._types.TextClassificationInferenceUpdateOptions': 'ml/_types/inference.ts#L382-L391',
Expand Down Expand Up @@ -2465,8 +2465,8 @@
'ml.put_calendar_job.Response': 'ml/put_calendar_job/MlPutCalendarJobResponse.ts#L22-L31',
'ml.put_data_frame_analytics.Request': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsRequest.ts#L36-L163',
'ml.put_data_frame_analytics.Response': 'ml/put_data_frame_analytics/MlPutDataFrameAnalyticsResponse.ts#L31-L47',
'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L38-L195',
'ml.put_datafeed.Response': 'ml/put_datafeed/MlPutDatafeedResponse.ts#L31-L50',
'ml.put_datafeed.Request': 'ml/put_datafeed/MlPutDatafeedRequest.ts#L38-L187',
'ml.put_datafeed.Response': 'ml/put_datafeed/MlPutDatafeedResponse.ts#L31-L49',
'ml.put_filter.Request': 'ml/put_filter/MlPutFilterRequest.ts#L23-L60',
'ml.put_filter.Response': 'ml/put_filter/MlPutFilterResponse.ts#L22-L28',
'ml.put_job.Request': 'ml/put_job/MlPutJobRequest.ts#L30-L153',
Expand Down Expand Up @@ -2511,8 +2511,8 @@
'ml.stop_trained_model_deployment.Response': 'ml/stop_trained_model_deployment/MlStopTrainedModelDeploymentResponse.ts#L20-L22',
'ml.update_data_frame_analytics.Request': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsRequest.ts#L24-L82',
'ml.update_data_frame_analytics.Response': 'ml/update_data_frame_analytics/MlUpdateDataFrameAnalyticsResponse.ts#L30-L45',
'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L174',
'ml.update_datafeed.Response': 'ml/update_datafeed/MlUpdateDatafeedResponse.ts#L31-L50',
'ml.update_datafeed.Request': 'ml/update_datafeed/MlUpdateDatafeedRequest.ts#L31-L166',
'ml.update_datafeed.Response': 'ml/update_datafeed/MlUpdateDatafeedResponse.ts#L31-L49',
'ml.update_filter.Request': 'ml/update_filter/MlUpdateFilterRequest.ts#L23-L62',
'ml.update_filter.Response': 'ml/update_filter/MlUpdateFilterResponse.ts#L22-L28',
'ml.update_job.Request': 'ml/update_job/MlUpdateJobRequest.ts#L33-L149',
Expand Down Expand Up @@ -3385,10 +3385,10 @@
if (hash.length > 1) {
hash = hash.substring(1);
}
window.location = "https://github.com/elastic/elasticsearch-specification/tree/4340716a5cdb8b75654131337835e74e1f5c4c80/specification/" + (paths[hash] || "");
window.location = "https://github.com/elastic/elasticsearch-specification/tree/66b2f4efc86f106ad7a869fe474b77ef3a3a77f9/specification/" + (paths[hash] || "");
</script>
</head>
<body>
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/4340716a5cdb8b75654131337835e74e1f5c4c80/specification/">Elasticsearch API specification</a>.
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/66b2f4efc86f106ad7a869fe474b77ef3a3a77f9/specification/">Elasticsearch API specification</a>.
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public class DatafeedConfig implements JsonpSerializable {
@Nullable
private final Integer maxEmptySearches;

@Nullable
private final Integer maxConsecutiveExtractionFailures;

@Nullable
private final Query query;

Expand All @@ -124,7 +121,6 @@ private DatafeedConfig(Builder builder) {
this.indicesOptions = builder.indicesOptions;
this.jobId = builder.jobId;
this.maxEmptySearches = builder.maxEmptySearches;
this.maxConsecutiveExtractionFailures = builder.maxConsecutiveExtractionFailures;
this.query = builder.query;
this.queryDelay = builder.queryDelay;
this.runtimeMappings = ApiTypeHelper.unmodifiable(builder.runtimeMappings);
Expand Down Expand Up @@ -252,23 +248,6 @@ public final Integer maxEmptySearches() {
return this.maxEmptySearches;
}

/**
* The maximum number of consecutive real-time data extraction failures the
* datafeed tolerates before it automatically stops itself, leaving the
* associated job open. The consecutive-failure counter resets on any cycle that
* extracts successfully, including empty-data cycles. If not set, the threshold
* defaults to roughly one day's worth of searches based on the datafeed
* <code>frequency</code> (floored at 1). Set to <code>-1</code> to disable
* auto-stop and retry indefinitely. Values of <code>0</code> or less than
* <code>-1</code> are rejected.
* <p>
* API name: {@code max_consecutive_extraction_failures}
*/
@Nullable
public final Integer maxConsecutiveExtractionFailures() {
return this.maxConsecutiveExtractionFailures;
}

/**
* The Elasticsearch query domain-specific language (DSL). This value
* corresponds to the query object in an Elasticsearch search POST body. All the
Expand Down Expand Up @@ -395,11 +374,6 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
generator.writeKey("max_empty_searches");
generator.write(this.maxEmptySearches);

}
if (this.maxConsecutiveExtractionFailures != null) {
generator.writeKey("max_consecutive_extraction_failures");
generator.write(this.maxConsecutiveExtractionFailures);

}
if (this.query != null) {
generator.writeKey("query");
Expand Down Expand Up @@ -480,9 +454,6 @@ public static class Builder extends WithJsonObjectBuilderBase<Builder> implement
@Nullable
private Integer maxEmptySearches;

@Nullable
private Integer maxConsecutiveExtractionFailures;

@Nullable
private Query query;

Expand Down Expand Up @@ -510,7 +481,6 @@ private Builder(DatafeedConfig instance) {
this.indicesOptions = instance.indicesOptions;
this.jobId = instance.jobId;
this.maxEmptySearches = instance.maxEmptySearches;
this.maxConsecutiveExtractionFailures = instance.maxConsecutiveExtractionFailures;
this.query = instance.query;
this.queryDelay = instance.queryDelay;
this.runtimeMappings = instance.runtimeMappings;
Expand Down Expand Up @@ -745,23 +715,6 @@ public final Builder maxEmptySearches(@Nullable Integer value) {
return this;
}

/**
* The maximum number of consecutive real-time data extraction failures the
* datafeed tolerates before it automatically stops itself, leaving the
* associated job open. The consecutive-failure counter resets on any cycle that
* extracts successfully, including empty-data cycles. If not set, the threshold
* defaults to roughly one day's worth of searches based on the datafeed
* <code>frequency</code> (floored at 1). Set to <code>-1</code> to disable
* auto-stop and retry indefinitely. Values of <code>0</code> or less than
* <code>-1</code> are rejected.
* <p>
* API name: {@code max_consecutive_extraction_failures}
*/
public final Builder maxConsecutiveExtractionFailures(@Nullable Integer value) {
this.maxConsecutiveExtractionFailures = value;
return this;
}

/**
* The Elasticsearch query domain-specific language (DSL). This value
* corresponds to the query object in an Elasticsearch search POST body. All the
Expand Down Expand Up @@ -963,8 +916,6 @@ protected static void setupDatafeedConfigDeserializer(ObjectDeserializer<Datafee
op.add(Builder::indicesOptions, IndicesOptions._DESERIALIZER, "indices_options");
op.add(Builder::jobId, JsonpDeserializer.stringDeserializer(), "job_id");
op.add(Builder::maxEmptySearches, JsonpDeserializer.integerDeserializer(), "max_empty_searches");
op.add(Builder::maxConsecutiveExtractionFailures, JsonpDeserializer.integerDeserializer(),
"max_consecutive_extraction_failures");
op.add(Builder::query, Query._DESERIALIZER, "query");
op.add(Builder::queryDelay, Time._DESERIALIZER, "query_delay");
op.add(Builder::runtimeMappings, JsonpDeserializer.stringMapDeserializer(RuntimeField._DESERIALIZER),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ public class PutDatafeedRequest extends RequestBase implements JsonpSerializable
@Nullable
private final String jobId;

@Nullable
private final Integer maxConsecutiveExtractionFailures;

@Nullable
private final Integer maxEmptySearches;

Expand Down Expand Up @@ -161,7 +158,6 @@ private PutDatafeedRequest(Builder builder) {
this.indices = ApiTypeHelper.unmodifiable(builder.indices);
this.indicesOptions = builder.indicesOptions;
this.jobId = builder.jobId;
this.maxConsecutiveExtractionFailures = builder.maxConsecutiveExtractionFailures;
this.maxEmptySearches = builder.maxEmptySearches;
this.query = builder.query;
this.queryDelay = builder.queryDelay;
Expand Down Expand Up @@ -327,23 +323,6 @@ public final String jobId() {
return this.jobId;
}

/**
* The maximum number of consecutive real-time data extraction failures the
* datafeed tolerates before it automatically stops itself, leaving the
* associated job open. The consecutive-failure counter resets on any cycle that
* extracts successfully, including empty-data cycles. If not set, the threshold
* defaults to roughly one day's worth of searches based on the datafeed
* <code>frequency</code> (floored at 1). Set to <code>-1</code> to disable
* auto-stop and retry indefinitely. Values of <code>0</code> or less than
* <code>-1</code> are rejected.
* <p>
* API name: {@code max_consecutive_extraction_failures}
*/
@Nullable
public final Integer maxConsecutiveExtractionFailures() {
return this.maxConsecutiveExtractionFailures;
}

/**
* If a real-time datafeed has never seen any data (including during any initial
* training period), it automatically stops and closes the associated job after
Expand Down Expand Up @@ -494,11 +473,6 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
generator.writeKey("job_id");
generator.write(this.jobId);

}
if (this.maxConsecutiveExtractionFailures != null) {
generator.writeKey("max_consecutive_extraction_failures");
generator.write(this.maxConsecutiveExtractionFailures);

}
if (this.maxEmptySearches != null) {
generator.writeKey("max_empty_searches");
Expand Down Expand Up @@ -592,9 +566,6 @@ public static class Builder extends RequestBase.AbstractBuilder<Builder>
@Nullable
private String jobId;

@Nullable
private Integer maxConsecutiveExtractionFailures;

@Nullable
private Integer maxEmptySearches;

Expand Down Expand Up @@ -629,7 +600,6 @@ private Builder(PutDatafeedRequest instance) {
this.indices = instance.indices;
this.indicesOptions = instance.indicesOptions;
this.jobId = instance.jobId;
this.maxConsecutiveExtractionFailures = instance.maxConsecutiveExtractionFailures;
this.maxEmptySearches = instance.maxEmptySearches;
this.query = instance.query;
this.queryDelay = instance.queryDelay;
Expand Down Expand Up @@ -932,23 +902,6 @@ public final Builder jobId(@Nullable String value) {
return this;
}

/**
* The maximum number of consecutive real-time data extraction failures the
* datafeed tolerates before it automatically stops itself, leaving the
* associated job open. The consecutive-failure counter resets on any cycle that
* extracts successfully, including empty-data cycles. If not set, the threshold
* defaults to roughly one day's worth of searches based on the datafeed
* <code>frequency</code> (floored at 1). Set to <code>-1</code> to disable
* auto-stop and retry indefinitely. Values of <code>0</code> or less than
* <code>-1</code> are rejected.
* <p>
* API name: {@code max_consecutive_extraction_failures}
*/
public final Builder maxConsecutiveExtractionFailures(@Nullable Integer value) {
this.maxConsecutiveExtractionFailures = value;
return this;
}

/**
* If a real-time datafeed has never seen any data (including during any initial
* training period), it automatically stops and closes the associated job after
Expand Down Expand Up @@ -1166,8 +1119,6 @@ protected static void setupPutDatafeedRequestDeserializer(ObjectDeserializer<Put
"indexes");
op.add(Builder::indicesOptions, IndicesOptions._DESERIALIZER, "indices_options");
op.add(Builder::jobId, JsonpDeserializer.stringDeserializer(), "job_id");
op.add(Builder::maxConsecutiveExtractionFailures, JsonpDeserializer.integerDeserializer(),
"max_consecutive_extraction_failures");
op.add(Builder::maxEmptySearches, JsonpDeserializer.integerDeserializer(), "max_empty_searches");
op.add(Builder::query, Query._DESERIALIZER, "query");
op.add(Builder::queryDelay, Time._DESERIALIZER, "query_delay");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public class PutDatafeedResponse implements JsonpSerializable {
@Nullable
private final Integer maxEmptySearches;

@Nullable
private final Integer maxConsecutiveExtractionFailures;

private final Query query;

private final Time queryDelay;
Expand All @@ -122,7 +119,6 @@ private PutDatafeedResponse(Builder builder) {
this.jobId = ApiTypeHelper.requireNonNull(builder.jobId, this, "jobId");
this.indicesOptions = builder.indicesOptions;
this.maxEmptySearches = builder.maxEmptySearches;
this.maxConsecutiveExtractionFailures = builder.maxConsecutiveExtractionFailures;
this.query = ApiTypeHelper.requireNonNull(builder.query, this, "query");
this.queryDelay = ApiTypeHelper.requireNonNull(builder.queryDelay, this, "queryDelay");
this.runtimeMappings = ApiTypeHelper.unmodifiable(builder.runtimeMappings);
Expand Down Expand Up @@ -210,14 +206,6 @@ public final Integer maxEmptySearches() {
return this.maxEmptySearches;
}

/**
* API name: {@code max_consecutive_extraction_failures}
*/
@Nullable
public final Integer maxConsecutiveExtractionFailures() {
return this.maxConsecutiveExtractionFailures;
}

/**
* Required - API name: {@code query}
*/
Expand Down Expand Up @@ -318,11 +306,6 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
generator.writeKey("max_empty_searches");
generator.write(this.maxEmptySearches);

}
if (this.maxConsecutiveExtractionFailures != null) {
generator.writeKey("max_consecutive_extraction_failures");
generator.write(this.maxConsecutiveExtractionFailures);

}
generator.writeKey("query");
this.query.serialize(generator, mapper);
Expand Down Expand Up @@ -397,9 +380,6 @@ public static class Builder extends WithJsonObjectBuilderBase<Builder>
@Nullable
private Integer maxEmptySearches;

@Nullable
private Integer maxConsecutiveExtractionFailures;

private Query query;

private Time queryDelay;
Expand Down Expand Up @@ -572,14 +552,6 @@ public final Builder maxEmptySearches(@Nullable Integer value) {
return this;
}

/**
* API name: {@code max_consecutive_extraction_failures}
*/
public final Builder maxConsecutiveExtractionFailures(@Nullable Integer value) {
this.maxConsecutiveExtractionFailures = value;
return this;
}

/**
* Required - API name: {@code query}
*/
Expand Down Expand Up @@ -725,8 +697,6 @@ protected static void setupPutDatafeedResponseDeserializer(ObjectDeserializer<Pu
op.add(Builder::jobId, JsonpDeserializer.stringDeserializer(), "job_id");
op.add(Builder::indicesOptions, IndicesOptions._DESERIALIZER, "indices_options");
op.add(Builder::maxEmptySearches, JsonpDeserializer.integerDeserializer(), "max_empty_searches");
op.add(Builder::maxConsecutiveExtractionFailures, JsonpDeserializer.integerDeserializer(),
"max_consecutive_extraction_failures");
op.add(Builder::query, Query._DESERIALIZER, "query");
op.add(Builder::queryDelay, Time._DESERIALIZER, "query_delay");
op.add(Builder::runtimeMappings, JsonpDeserializer.stringMapDeserializer(RuntimeField._DESERIALIZER),
Expand Down
Loading
Loading