Skip to content

Add synthetic source support for binary fields #107549

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 7 commits into from
Apr 22, 2024

Conversation

lkts
Copy link
Contributor

@lkts lkts commented Apr 16, 2024

This PR adds synthetic source support for binary fields. Synthetic source is only supported when doc values are enabled.

Contributes to #106460.

@lkts lkts added >feature Team:StorageEngine :StorageEngine/Mapping The storage related side of mappings labels Apr 16, 2024
@lkts lkts requested a review from salvatore-campagna April 16, 2024 18:43
Copy link
Contributor

Documentation preview:

@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

import java.util.Map;
import java.util.stream.Stream;

public abstract class BinaryDocValuesSyntheticFieldLoader implements SourceLoader.SyntheticFieldLoader {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is introduced in #107081 which is not yet merged.

@lkts
Copy link
Contributor Author

lkts commented Apr 16, 2024

@elasticmachine update branch

@lkts
Copy link
Contributor Author

lkts commented Apr 17, 2024

@elasticmachine update branch

@lkts
Copy link
Contributor Author

lkts commented Apr 17, 2024

@elasticmachine update branch

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

#107554 part is missing, but is required the fully support synthetic source for the binary field type. This will be added in a follow up.

@lkts lkts merged commit 8ed92db into elastic:main Apr 22, 2024
@lkts lkts deleted the feature/binary_field_synthetic_source branch April 22, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants