Skip to content

Conversation

@maowerner
Copy link
Contributor

On elastic v 7.8.0 the current code gives

{
  "error" : {
    "root_cause" : [
      {
        "type" : "x_content_parse_exception",
        "reason" : "[6:15] [terms_lookup] id doesn't support values of type: VALUE_NUMBER"
      }
    ],
    "type" : "x_content_parse_exception",
    "reason" : "[6:15] [terms_lookup] id doesn't support values of type: VALUE_NUMBER"
  },
  "status" : 400
}

This can be solved with the proposed change.

On elastic v 7.8.0 the current code gives
```
{
  "error" : {
    "root_cause" : [
      {
        "type" : "x_content_parse_exception",
        "reason" : "[6:15] [terms_lookup] id doesn't support values of type: VALUE_NUMBER"
      }
    ],
    "type" : "x_content_parse_exception",
    "reason" : "[6:15] [terms_lookup] id doesn't support values of type: VALUE_NUMBER"
  },
  "status" : 400
}
```
This can be solved with the proposed change.
@ba0708
Copy link
Contributor

ba0708 commented Jul 5, 2020

Ah yes, I never got around to fixing that. Thanks, @maowerner! 🙂

@ba0708 ba0708 merged commit 264d4c6 into codingexplained:master Jul 5, 2020
@maowerner
Copy link
Contributor Author

@ba0708 Wow, that was incredibly fast. :)

@maowerner maowerner deleted the patch-1 branch July 5, 2020 12:34
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

Successfully merging this pull request may close these issues.

2 participants