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
Expose the mappings of a given index or index/type #222
Comments
+1 |
pushed a change to the cluster state to return native json mapping (in an array of mappings) when possible. Its an oversight on my part, I had to enhance some aspects to be able to do it, but its already there, so its a simple fix. |
It would be practical to have an options to get mappings as a part of index REST API as well. (i.e. it would be possible to get more info about index via one REST request, no need to do two or more requests). |
Expose the mappings of a given index or index/type, closed by 7b145fd. Added the ability to filter returned data from the cluster state API, and use it to expose REST GET endpoint for "/_mapping", "/{index}/_mapping", "/{index}/{type}/_mapping" ({index} can also be "_all"). |
Fix issues with systemd
Fix elastic#222 (cherry picked from commit c47f7e50f6b4fcd7af07efedff0e080366d98deb)
…#222) Add uc3m ansible hosts Approved-by: Gideon Avida
It would be nice to get the mappings of a given index or index/type pair by doing a GET.
For example, I would like to have something like:
Note that this is currently possible by doing a GET of "/_cluster/state" but that also obtains a bunch of non related information, and one still has to parse the json (the mappings come in a json encoded string).
The text was updated successfully, but these errors were encountered: