Skip to content

Implement composable (V2) templates in High Level Client #6083

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

Closed
vkras opened this issue Jan 30, 2022 · 2 comments
Closed

Implement composable (V2) templates in High Level Client #6083

vkras opened this issue Jan 30, 2022 · 2 comments

Comments

@vkras
Copy link

vkras commented Jan 30, 2022

Is your feature request related to a problem? Please describe.
From what I can see, only legacy (deprecated) templates are implemented in the latest version of NEST.

Describe the solution you'd like
I want new component templates and index templates (AKA Templates V2, composable templates) added to NEST.

Describe alternatives you've considered
Low Level client but it requires manual mapping for results

Additional context
Old V1 templates are deprecated and throw warning below:
"Legacy index templates are deprecated in favor of composable templates."

@vkras vkras added the Feature label Jan 30, 2022
@stevejgordon
Copy link
Contributor

stevejgordon commented Feb 1, 2022

Hi, @vkras. Component template APIs were added in 7.16.0 under the cluster area of the client client.Cluster.GetComponentTemplate for example. Index Template (v2) APIs were indeed missing. I've added these in #6101 and will release them in 7.17.0.

@vkras
Copy link
Author

vkras commented Feb 2, 2022

Thank you, it was fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants