title: Not able to get desired search results in ElasticSearch search api
body: <p>I have field &quot;<strong>xyz</strong>&quot; on which i want to search. The type of the field is <strong>keyword</strong>. The different values of the field &quot;xyz &quot;are -</p>
  <ul>
  <li>a/b/c/d</li>
  <li>a/b/c/e</li>
  <li>a/b/f/g</li>
  <li>a/b/f/h</li>
  </ul>
  <p>Now for the following query -</p>
  <pre><code>{
      &quot;query&quot;: {
          &quot;query_string&quot; : {
              &quot;query&quot; : &quot;(xyz:(\&quot;a/b/c\&quot;*))&quot;
          }
      }
  }
  </code></pre>
  <p>I should only get these two results -</p>
  <ul>
  <li>a/b/c/d</li>
  <li>a/b/c/e</li>
  </ul>
  <p>but i get all the four results -</p>
  <ul>
  <li>a/b/c/d</li>
  <li>a/b/c/e</li>
  <li>a/b/f/g</li>
  <li>a/b/f/h</li>
  </ul>
  <p><strong>Edit -</strong>
  Actually i am not directly querying on ElasticSearch, I am using this API <a href="https://atlas.apache.org/api/v2/resource_DiscoveryREST.html#resource_DiscoveryREST_searchWithParameters_POST" rel="nofollow noreferrer">https://atlas.apache.org/api/v2/resource_DiscoveryREST.html#resource_DiscoveryREST_searchWithParameters_POST</a> which creates the above mentioned query for elasticsearch, so i dont have much control over the elasticsearch query_string. What i can change is the elasticsearch analyzer for this field or it's type.</p>