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

unregister-query response format is different between REST and native clients #142

Closed
parkjaehyuck opened this issue Feb 24, 2015 · 1 comment · Fixed by #143
Closed

Comments

@parkjaehyuck
Copy link

sorry I can't write English. native api used. not REST Api.

watch below source code.

request to server unregister percolator..

request query :

(pcl/unregister-query native-conn "my_index" "aa::8f0fdfc9-8a13-40ea-83bb-e8750668bdd7")

response

{:ok false, :found false, :found? false, :_index ".percolator", :_type "my_index", :_version 1, :_id "aa::8f0fdfc9-8a13-40ea-83bb-e8750668bdd7"}

_index : .percolator <-- I think this is wrong.

I think this is correct:

{ :_index "my_index", :_type ".percolator", :_version 1, :_id "aa::8f0fdfc9-8a13-40ea-83bb-e8750668bdd7"}

REST api work well.
Native api not work..

thank.

@michaelklishin michaelklishin changed the title percolator unregister-query bug?? unregister-query response format is different between REST and native clients Feb 24, 2015
@michaelklishin
Copy link
Member

Thank you, I agree, this looks like an issue in the native client.

michaelklishin added a commit that referenced this issue Feb 24, 2015
Fixes #142 wrong index and type for native unregister-query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants