title: Elastic Search - query not matching
body: <p>My index was created in C#:</p>
  
  <pre><code>CreateIndexRequest request = new CreateIndexRequest(index.ToString().ToLower());
  TypeMapping typeMapping = new TypeMapping();
  typeMapping.DateDetection = false;
  request.Mappings = new Mappings();
  request.Mappings.Add("object", typeMapping);
  esConfig.CreateIndex(request);
  </code></pre>
  
  <p>Here's the after the fact definition of a field i'm trying to query called 'traceText": </p>
  
  <pre><code>      "traceText": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
  </code></pre>
  
  <p>When I do this search, I'm not getting any hits: </p>
  
  <pre><code>GET /local-tlrgloadtenderout-2018.06.04/_search
  {"query": {
       "term" : {"traceText":"Global-Catch-Error"}
  }}
  </code></pre>
  
  <p>similar with something simpler on a similar field:</p>
  
  <pre><code>GET /local-tlrgloadtenderout-2018.06.04/_search
  {"query": {
       "term" : {"traceLevel":"E"}
  }}
  </code></pre>
  
  <p>When I use Kibana, I can specify: </p>
  
  <pre><code>  traceText:'Global-Catch-Error'
  </code></pre>
  
  <p>or </p>
  
  <pre><code>  traceLevel: 'E' 
  </code></pre>
  
  <p>and everything works perfectly. </p>
  
  <p>What do I need to do to get the Elastic Search query to work?  I'm using Version 6.0.0. </p>