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

Protobuf Struct to OpenSearch Index Mapping Generator #9

Open
abhisek opened this issue Nov 18, 2022 · 0 comments
Open

Protobuf Struct to OpenSearch Index Mapping Generator #9

abhisek opened this issue Nov 18, 2022 · 0 comments
Labels
devex Developer Experience

Comments

@abhisek
Copy link
Member

abhisek commented Nov 18, 2022

Problem

OpenSearch index creation requires a JSON mapping data to define the meta associated with an indexed document. This is required so that OpenSearch knows how to index an attribute within a document

Requirements

Instead of statically maintaining a JSON mapping file, we can using reflection and custom annotations to generate an OpenSearch mapping from a Protobuf generated Go struct.

@abhisek abhisek added the devex Developer Experience label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devex Developer Experience
Projects
None yet
Development

No branches or pull requests

1 participant