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

Result is not accurate when querying with multiple readers and multiple sorts field #155

Open
sw1136562366 opened this issue Feb 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sw1136562366
Copy link
Contributor

sw1136562366 commented Feb 22, 2023

Describe this problem

The sorting result is not accurate when querying with multiple readers and multiple sorts field

{
                   "size": 20,
                   "query": {
                     "term": {
                       "lang": "Java"
                     }
                   },
                   "sort": [
                     {
                       "forks": {
                         "order": "desc"
                       },
                       "stars": {
                         "order": "desc"
                       }
                     }
                   ]
                 }

To Reproduce

How to reproduce this problem.

Expected behavior

What is your expected behavior.

Additional Information

If possible, please attach other context you think may relate to this problem. Like runtime environment, modified config, error log etc.

@sw1136562366 sw1136562366 changed the title result is not accurate when multiple sorts field result is not accurate when multiple readers and multiple sorts field Mar 1, 2023
@xiangwanpeng xiangwanpeng changed the title result is not accurate when multiple readers and multiple sorts field Result is not accurate when querying with multiple readers and multiple sorts field Mar 29, 2023
@xiangwanpeng xiangwanpeng added the bug Something isn't working label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants