# Suggest completion store as keyword

**URL:** https://discuss.elastic.co/t/suggest-completion-store-as-keyword/91419
**Category:** Elasticsearch
**Created:** [June 30, 2017, 11:57am UTC](https://discuss.elastic.co/t/suggest-completion-store-as-keyword/91419 "2017-06-30T11:57:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aslamy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aslamy1/32/26607_2.png) [@aslamy1](https://discuss.elastic.co/u/aslamy1)
#### Post date: [June 30, 2017, 11:57am UTC](https://discuss.elastic.co/t/suggest-completion-store-as-keyword/91419/1 "2017-06-30T11:57:34Z")

</div>

I have completion mapping like:

```
"MySuggest": {
      "properties": {
        "suggest": {
          "type": "completion",
          "search_analyzer": "custom-suggest-analyzer",
          "analyzer": "custom-suggest-analyzer",
          "preserve_separators": true,
          "preserve_position_increments": true
        }
      }
    }

```

How can i store value of input field in suggest completion also as keyword?

---

<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: [July 28, 2017, 11:58am UTC](https://discuss.elastic.co/t/suggest-completion-store-as-keyword/91419/2 "2017-07-28T11:58:33Z")

</div>

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