Skip to content

Simplifying ingest doc sim response #3705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
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
13 changes: 0 additions & 13 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 2 additions & 15 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions specification/simulate/ingest/SimulateIngestResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,11 @@ export class IngestDocumentSimulation
* value is larger than the allowed limit would make it through all of the pipelines, but
* would not be indexed into Elasticsearch.
*/
ignored_fields?: Array<Dictionary<IgnoredFieldKey, string>>
ignored_fields?: Array<Dictionary<string, string>>
/**
* Any error resulting from simulatng ingest on this doc. This can be an error generated by
* executing a processor, or a mapping validation error when simulating indexing the resulting
* doc.
*/
error?: ErrorCause
}

/**
* These are the names of the keys in a Dictionary in the ignored_fields Array.
*/
enum IgnoredFieldKey {
field
}