title: Elastic Search query not working with an unreserved character
body: <p>I am trying to query a keyword that has a dot (.) appended to it. The query works fine on Kibana's console but not on my application's function. This is the function that creates the query given a keyword:</p>
  <pre><code>    searchOperation(keyWord:String){
      
      {
    &quot;query&quot;: {
      &quot;bool&quot;: {
        &quot;must&quot;: [
          {
            &quot;query_string&quot;: {
              &quot;fields&quot;: [&quot;message&quot;],
              &quot;query&quot;: keyWord + &quot; AND \&quot;DateID\&quot;&quot;
            }
          }]
      }}}}
  </code></pre>
  <p>An example keyword that contains that character is: &quot;BAD.IJH.KLM&quot;</p>
  <p>I append an escape character ('\') before and after the quotation marks so it becomes \&quot;BAD.IJH.KLM\&quot; and my query would look like this :</p>
  <pre><code>    {
    &quot;query&quot;: {
      &quot;bool&quot;: {
        &quot;must&quot;: [
          {
            &quot;query_string&quot;: {
              &quot;fields&quot;: [&quot;message&quot;],
              &quot;query&quot;: &quot;\&quot;BAD.IJH.KLM\&quot; AND \&quot;DateID\&quot;&quot;
            }
          }]
      }}}
  </code></pre>
  <p>but my query doesn't search for the exact keyword with the dots and instead searches for the first substring within &quot;BAD.IJH.KLM&quot; which is BAD in this example. How can I modify my keyword/query so the query searches for the exact string with characters that are not part of the reserved characters?</p>