Skip to content

Conversation

jordan-powers
Copy link
Contributor

With the recent addition of StoredFieldsSpec.sourcePaths, it is redundant to have a separate property for ignored source spec.

This PR removes IgnoredSourceSpec and uses StoredFieldsSpec.sourcePaths instead.

With the recent addition of StoredFieldsSpec.sourcePaths, it is redundant to have a separate property for ignored source spec. This PR removes IgnoredSourceSpec and uses StoredFieldsSpec.sourcePaths instead.
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.3.0 labels Oct 17, 2025
@jordan-powers jordan-powers added >non-issue :Analytics/Aggregations Aggregations Team:StorageEngine :StorageEngine/Mapping The storage related side of mappings and removed needs:triage Requires assignment of a team area label :Analytics/Aggregations Aggregations labels Oct 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment. LGTM otherwise 👍

} else if (other.ignoredSourceFormat == IgnoredSourceFormat.NO_IGNORED_SOURCE) {
mergedFormat = this.ignoredSourceFormat;
} else if (this.ignoredSourceFormat != other.ignoredSourceFormat) {
throw new ElasticsearchException(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a IllegalStateException?

@jordan-powers jordan-powers enabled auto-merge (squash) October 20, 2025 15:15
@jordan-powers jordan-powers merged commit c832243 into elastic:main Oct 20, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants