Skip to content

Enable fallback synthetic source by default#109370

Merged
lkts merged 7 commits intoelastic:mainfrom
lkts:feature/synthetic_source_fallback_complete
Jun 7, 2024
Merged

Enable fallback synthetic source by default#109370
lkts merged 7 commits intoelastic:mainfrom
lkts:feature/synthetic_source_fallback_complete

Conversation

@lkts
Copy link
Copy Markdown
Contributor

@lkts lkts commented Jun 4, 2024

This PR enables fallback synthetic source as a default for all fields that don't implement synthetic source support. It also adds basic tests for fields that now support synthetic source with that above change.

Closes #106460.

@lkts lkts added >feature :StorageEngine/Mapping The storage related side of mappings labels Jun 4, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @lkts, I've created a changelog YAML for you.

@lkts lkts force-pushed the feature/synthetic_source_fallback_complete branch from f26a615 to 6a4e4cf Compare June 4, 2024 20:42
@lkts
Copy link
Copy Markdown
Contributor Author

lkts commented Jun 5, 2024

@elasticmachine update branch

@lkts lkts requested review from kkrik-es and martijnvg June 5, 2024 18:04
@lkts lkts marked this pull request as ready for review June 5, 2024 18:05
@lkts lkts requested a review from a team as a code owner June 5, 2024 18:05
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@kkrik-es kkrik-es added the test-full-bwc Trigger full BWC version matrix tests label Jun 6, 2024
Copy link
Copy Markdown
Member

@kkrik-es kkrik-es left a comment

Choose a reason for hiding this comment

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

Let's test-full-bwc to play it safe.

/**
* Specifies the mode of synthetic source support by the mapper.
* Field mappers must override this method if they provide
* a custom implementation of {@link #syntheticFieldLoader()}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Consider adding a note there hinting why they should do so.

@lkts lkts force-pushed the feature/synthetic_source_fallback_complete branch from 47555fd to 22d1600 Compare June 6, 2024 17:42
Copy link
Copy Markdown
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.

lgtm

@lkts lkts merged commit 1080425 into elastic:main Jun 7, 2024
@lkts lkts deleted the feature/synthetic_source_fallback_complete branch June 7, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>feature :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine test-full-bwc Trigger full BWC version matrix tests v8.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support synthetic source for all field types

5 participants