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

BUG: Options\Sort – [_score] unknown field [missing] #10

Open
AloisJasa opened this issue Feb 6, 2022 · 1 comment
Open

BUG: Options\Sort – [_score] unknown field [missing] #10

AloisJasa opened this issue Feb 6, 2022 · 1 comment

Comments

@AloisJasa
Copy link
Contributor

BUG

Description

(new Sort('_score'))->toArray()

ES error

{
  "error" : {
    "root_cause" : [
      {
        "type" : "x_content_parse_exception",
        "reason" : "[14:9] [_score] unknown field [missing]"
      }
    ],
    "type" : "x_content_parse_exception",
    "reason" : "[14:9] [_score] unknown field [missing]"
  },
  "status" : 400
}
@AloisJasa AloisJasa changed the title Spameri\ElasticQuery\Options\Sort – [_score] unknown field [missing] BUG: Options\Sort – [_score] unknown field [missing] Feb 6, 2022
@rudolfbruder
Copy link

I believe I am facing the same issue. I want to sort results by score as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants