That's the JSON parsing, not the query_string parsing.

You need to use a double slash in JSON in order to pass a single slash, ie:

{
  "query": {
    "query_string": {
      "query": "name:exampleof\\ bug"
    }
  }
}

Also, re the reserved characters in the query string - that is all handled
by Lucene, not Elasticsearch

clint

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPt3XKQ%3DFLOZwab577DUgGc4wZA9VinxsUoA%2BTwZMqNubVBiqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to