Suggest completion store as keyword

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?

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