Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

lowercase index names from URL #13

Open
jeremybmerrill opened this issue Apr 5, 2016 · 0 comments
Open

lowercase index names from URL #13

jeremybmerrill opened this issue Apr 5, 2016 · 0 comments

Comments

@jeremybmerrill
Copy link
Contributor

elasticsearch requires index names to be lowercase

URLs, generally, are case-insensitive.

so, when we get the index name from the URL, we should downcase it to match what elasticsearch is expecting (and so users still can rely on case-insensitive URLs) -- so /search/MYINDEX is the same as /search/myindex, both mapping to the myindex index in elasticsearch

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

No branches or pull requests

1 participant