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

Misplaced kibana script comments cause console error #7

Open
jessewalton opened this issue Oct 18, 2023 · 0 comments
Open

Misplaced kibana script comments cause console error #7

jessewalton opened this issue Oct 18, 2023 · 0 comments

Comments

@jessewalton
Copy link

jessewalton commented Oct 18, 2023

"match_phrase": {#A The match_phrase query expects a sequence of words
"synopsis": "must-have book for every Java programmer"#B Our phrase

Error:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "json_parse_exception",
        "reason" : "Unexpected character ('#' (code 35)): was expecting double-quote to start field name\n at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 3, column: 24]"
      }
    ],
    "type" : "json_parse_exception",
    "reason" : "Unexpected character ('#' (code 35)): was expecting double-quote to start field name\n at [Source: (org.elasticsearch.common.io.stream.ByteBufferStreamInput); line: 3, column: 24]"
  },
  "status" : 400
}

Note: The immediately after this broken part is a correct version, so i'm not sure if this is there as a reference on purpose.

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

1 participant