Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Should be POST request when searching with body? #503

Open
ymirchev opened this issue Jul 25, 2021 · 0 comments
Open

Should be POST request when searching with body? #503

ymirchev opened this issue Jul 25, 2021 · 0 comments

Comments

@ymirchev
Copy link

ymirchev commented Jul 25, 2021

In https://opendistro.github.io/for-elasticsearch-docs/docs/knn/knn-score-script/
image
Should be POST request (because there is body in the request) ?
Anyway, also with POST I am getting error "query_shard_exception":
"failed to create query: class java.lang.Integer cannot be cast to class java.lang.Double (java.lang.Integer and java.lang.Double are in module java.base of loader 'bootstrap')"
described by me here: opendistro-for-elasticsearch/sample-code#260

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