opensearch-project / opensearch-go

Go Client for OpenSearch
https://opensearch.org/docs/latest/clients/go/
Apache License 2.0
188 stars 96 forks source link

[FEATURE] Exploring similar functionality in Go as Python classes {Object, Nested, Text, Keyword}. #544

Open siddharth-vmware opened 1 month ago

siddharth-vmware commented 1 month ago

Is your feature request related to a problem?

Getting difficulty in mapping the datatype while creating index in opensearch with go.

What solution would you like?

If we can get the similar functionality in go as of the datatypes mentioned above in python.

What alternatives have you considered?

Considering to use elastic search go client to implement the same.

dblock commented 1 month ago

@siddharth-vmware Can you provide an example of what you'd like to write?

siddharth-vmware commented 1 month ago

@dblock Thanks for the acknowledgement , I could not completely understand the question you asked , can you pls add more details of what example you would like to have exactly ? I assume it might be about either you want more details of what I am trying to implement in opensearch or about the implementation part of these datatypes in go ?

dblock commented 1 month ago

You say "Getting difficulty in mapping the datatype while creating index in opensearch with go." - can you please give an example of the difficulty (in code)?