opensearch-project / opensearch-cli

A full-featured command line interface (CLI) for OpenSearch.
https://opensearch.org/docs/latest/clients/cli/
Apache License 2.0
44 stars 24 forks source link

[FEATURE] Interactively create an Index #94

Open Tejasmadhukar opened 4 months ago

Tejasmadhukar commented 4 months ago

Is your feature request related to a problem? Yes there has always been a little bit of hassle creating an Index either having to write the entire json or copy pasting it. I was thinking of an easier way to make this where you can add mappings interactively.

What solution would you like? I can to build a Terminal User Interface (TUI) through which users can interactively define mappings interactively and edit the json from there as they like.

Tejasmadhukar commented 4 months ago

@wbeckler

wbeckler commented 4 months ago

Could this be better handled in a GUI like OpenSearch Dashboards?

Tejasmadhukar commented 4 months ago

Yes you're right, It would work well in a user interface like one present in dashboards. But I was thinking it would also be convenient to have something like this in the terminal.

https://github.com/opensearch-project/opensearch-cli/assets/39000441/7e1a53a8-a2b6-4843-b1f6-c4837099dab3

Users can define many mappings like this. (ignore the submit button) And I think that it helpful to have this in terminal as a convenient way of defining index compared to dasboards where people have to first install then to use it.

dblock commented 2 months ago

Catch All Triage - 1 2 3 4 5 6