title: In Elasticsearch, how do I combine a normalizer with a nested object?
body: <p>At a high level overview, my use case requires a nested object and I would also like to perform exact case-insensitive matches on my nested objects.</p>
  
  <p>I've started with the example here:</p>
  
  <p><a href="https://www.codementor.io/mehuljain/case-insensitive-exact-matches-in-elasticsearch-nny7ii7fw" rel="nofollow noreferrer">https://www.codementor.io/mehuljain/case-insensitive-exact-matches-in-elasticsearch-nny7ii7fw</a></p>
  
  <p>which does almost exactly what I want, except it doesn't use nested objects.</p>
  
  <p>I've tried to modify the code on the above page by changing the type from <code>text</code> to <code>nested</code>:</p>
  
  <pre><code>PUT titles
  {
    "settings": {
      "analysis": {
        "normalizer": {
          "my_normalizer": {
            "type": "custom",
            "filter": ["lowercase"]
          }
        }
      }
    },
    "mappings": {
      "default": {
        "properties": {
          "title": {
            "type": "nested",
            "fields": {
              "normalize": {
                "type": "keyword",
                "normalizer": "my_normalizer"
              },
              "keyword" : {
                "type": "keyword"
              }
            }
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>This, however, doesn't work and I get an error message.</p>
  
  <p>How do I perform a case insensitive exact matching search on a nested object in Elastic? </p>