Skip to content

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

@sw1136562366

Description

@sw1136562366

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions