# Lower case normalizer "search\_analyzer"?

**URL:** <https://discuss.elastic.co/t/lower-case-normalizer-search-analyzer/85289>\
**Category:** Elasticsearch\
**Created:** [May 10, 2017, 5:18pm UTC](https://discuss.elastic.co/t/lower-case-normalizer-search-analyzer/85289 "2017-05-10T17:18:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![billnbell](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@billnbell](https://discuss.elastic.co/u/billnbell)\
**Post date:** [May 10, 2017, 5:18pm UTC](https://discuss.elastic.co/t/lower-case-normalizer-search-analyzer/85289/1 "2017-05-10T17:18:52Z")

</div>

I want to lowercase a "keyword" field, and then make sure the search is also lowercased. I am using normalizer. Is there an equivalent for "search\_analyzer" for normalizers on user input?

```
"normalizer": {
      "lower_normalizer": {
        "type": "custom",
        "filter": ["lowercase", "asciifolding"]
      }
    }

           "rawci": {
                "type": "keyword",
                "normalizer": "lower_normalizer",
                "ignore_above": 512
              },
              "match": {
                "type": "text",
                "analyzer": "match_analyzer",
                "search_analyzer": "search_match_analyzer"
              }
```

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [May 12, 2017, 7:07am UTC](https://discuss.elastic.co/t/lower-case-normalizer-search-analyzer/85289/2 "2017-05-12T07:07:06Z")

</div>

The `normalizer` should be applied at index and search time automatically (assuming you're using a `match` query instead of a `term` query)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 9, 2017, 7:20am UTC](https://discuss.elastic.co/t/lower-case-normalizer-search-analyzer/85289/3 "2017-06-09T07:20:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
