Skip to content

"indices" as alias for "indexes" #3540

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
joshxyzhimself opened this issue Jun 10, 2023 · 4 comments
Open

"indices" as alias for "indexes" #3540

joshxyzhimself opened this issue Jun 10, 2023 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers low-priority

Comments

@joshxyzhimself
Copy link

Is your feature request related to a problem? Please describe.

  • At elasticsearch we use the word indices instead of indexes.

Describe the solution you'd like

  • Make /api/v1/indices an alias of /api/v1/indexes.

Describe alternatives you've considered

  • None.

Additional context

  • Cosmetic change, but helps lol.
@joshxyzhimself joshxyzhimself added the enhancement New feature or request label Jun 10, 2023
@fulmicoton
Copy link
Collaborator

we could definitely have a redirect for instance.

@fmassot fmassot added the good first issue Good for newcomers label Jun 10, 2023
@fulmicoton
Copy link
Collaborator

fulmicoton commented Jun 19, 2023

Assigned to me on behalf of shimatar0 who offered to contribute.

Some more details: We want the routes in /api/v1/indices/XXX to redirect to the correct /api/v1/indexes/XXX

@fulmicoton fulmicoton self-assigned this Jun 19, 2023
@fulmicoton fulmicoton removed their assignment Aug 16, 2023
@fatelei
Copy link

fatelei commented Sep 7, 2023

redirect all /api/v1/indexes to /api/v1/indices ?

@guilload
Copy link
Member

guilload commented Sep 7, 2023

The other way around.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers low-priority
Projects
None yet
Development

No branches or pull requests

5 participants