We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
What were you trying to achieve?
The results returned in the expected sorting order.
What action did you take?
Call ES API with order param using python requests (HTTP request)
What action/response/output did you expect?
The order param is {"_score": "desc"} with {"size": 50} the expected result should be return the top 50 records with the highest score.
What actually happened?
Return random, The real highest score is 15.9161, but both "asc" and "desc" return records with score range from 7.29 to 15.3973
How to reproduce the issue?
Try run the query with score params
What version of ZincSearch are you using?
docker version: public.ecr.aws/zinclabs/zinc:latest sha256:fefa9ee7256a3c9e7a4f95345265ddf03daa912c5662277860bcbbe77088e662
Anything else that you can tell that will help us diagnose and resolve the issue efficiently?
I tried {"sort": ["-_score"]} sometimes is work, but not always.
Any attachments/screenshots?
Which service(s) is this relate to? This could be GUI or API API: GET /es/{INDEX}/_search
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Community Note
What were you trying to achieve?
The results returned in the expected sorting order.
What action did you take?
Call ES API with order param using python requests (HTTP request)
What action/response/output did you expect?
The order param is {"_score": "desc"} with {"size": 50} the expected result should be return the top 50 records with the highest score.
What actually happened?
Return random, The real highest score is 15.9161, but both "asc" and "desc" return records with score range from 7.29 to 15.3973
How to reproduce the issue?
Try run the query with score params
What version of ZincSearch are you using?
docker version: public.ecr.aws/zinclabs/zinc:latest sha256:fefa9ee7256a3c9e7a4f95345265ddf03daa912c5662277860bcbbe77088e662
Anything else that you can tell that will help us diagnose and resolve the issue efficiently?
I tried {"sort": ["-_score"]} sometimes is work, but not always.
Any attachments/screenshots?
Which service(s) is this relate to?
This could be GUI or API
API: GET /es/{INDEX}/_search
The text was updated successfully, but these errors were encountered: