# Analyzers and Tokenizers (Edge-NGram)

**URL:** <https://discuss.elastic.co/t/analyzers-and-tokenizers-edge-ngram/125652>\
**Category:** Elasticsearch\
**Created:** [March 26, 2018, 5:11pm UTC](https://discuss.elastic.co/t/analyzers-and-tokenizers-edge-ngram/125652 "2018-03-26T17:11:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurtiskurtis](https://avatars.discourse-cdn.com/v4/letter/k/45deac/32.png) [@kurtiskurtis](https://discuss.elastic.co/u/kurtiskurtis)\
**Post date:** [March 26, 2018, 5:11pm UTC](https://discuss.elastic.co/t/analyzers-and-tokenizers-edge-ngram/125652/1 "2018-03-26T17:11:24Z")

</div>

After performing a large migration, I came to realize that our Edge-NGram Tokenizer's max token is too small... Am I able to increase this without reindexing the entire index? Also.. How does increasing max size impact performance/hardware requirements?

```
 "settings": {
      "index": {
        "number_of_shards": "4",
        "provided_name": "568fe5d50965ef83899c5ca6-breadcrumbs_v1",
        "creation_date": "1522082871152",
        "analysis": {
          "analyzer": {
            "edgegram_analyzer": {
              "type": "custom",
              "tokenizer": "edgegram_tokenizer"
            }
          },
          "tokenizer": {
            "edgegram_tokenizer": {
              "type": "edge_ngram",
              "min_gram": "3",
              "max_gram": "10"
            }
          }
        },
        "number_of_replicas": "1",
        "uuid": "nVVehVmMTum7FpH_XPjWaw",
        "version": {
          "created": "6020399"
        }
      }
    }
```

---

<div class="post-metadata">

**Author:** ![kurtiskurtis](https://avatars.discourse-cdn.com/v4/letter/k/45deac/32.png) [@kurtiskurtis](https://discuss.elastic.co/u/kurtiskurtis)\
**Post date:** [March 26, 2018, 6:55pm UTC](https://discuss.elastic.co/t/analyzers-and-tokenizers-edge-ngram/125652/2 "2018-03-26T18:55:32Z")

</div>

I answered the first part of my question "can I change it". The answer is yes for whoever reads this in the future.

See last paragraph on [https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html#indices-update-settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html#indices-update-settings)

As for my second question that one is still a mystery. I am not certain how analyzers work, so I am not sure if modifying min/max settings has any performance/hardware implications?

---

<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:** [April 23, 2018, 6:55pm UTC](https://discuss.elastic.co/t/analyzers-and-tokenizers-edge-ngram/125652/3 "2018-04-23T18:55:32Z")

</div>

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