Skip to content
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

Opt in number fields into fallback synthetic source when doc values are disabled #110160

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

lkts
Copy link
Contributor

@lkts lkts commented Jun 25, 2024

Contributes to #109546.

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

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

@lkts lkts marked this pull request as ready for review June 25, 2024 21:41
@lkts lkts requested review from martijnvg and kkrik-es June 25, 2024 21:42
@elasticsearchmachine
Copy link
Collaborator

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

if (preservesExactSource()) {
var rawInput = v.v1();

// Confusing as it is this code actually runs
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: I'd skip the "Confusing as it is" part, it's all confusing.. Same below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Writing that made me feel better but i'll remove it.

Copy link
Contributor

@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.

Nice, this is refreshingly simple - bar the test updates..

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.

LGTM

@lkts lkts changed the title Opt in number fields into fallback synthetic source when doc values a… Opt in number fields into fallback synthetic source when doc values are disabled Jun 26, 2024
@lkts lkts added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jun 26, 2024
@elasticsearchmachine elasticsearchmachine merged commit 63aae0d into elastic:main Jun 26, 2024
15 checks passed
@lkts lkts deleted the doc_values_false_numbers branch June 26, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >enhancement :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants