Skip to content
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

Get API: Make type optional #1061

kimchy opened this issue Jun 24, 2011 · 2 comments


Copy link

commented Jun 24, 2011

Type is now optional when getting a document (which means one can get it just by the id). For the REST API, use the _all value for the type in this case.

@kimchy kimchy closed this in 7ed5e9e Jun 24, 2011

This comment has been minimized.

Copy link

commented Jul 1, 2011

Should this be extended to the delete API as well?


This comment has been minimized.

Copy link
Member Author

commented Jul 2, 2011

Its problematic because of the semantics of the delete API. This Get API means that the first doc will be returned (because of the semantics of get) even if there are same ids on different types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.