"suggest_mode": "always" doesn't work for term suggester

Hello everyone.
I'm a rookie cloud developer who is working on a full stack web service. We are introducing elasticsearch to fetch suggestions of movie title.

The problem is suggestions couldn't be fetched when the query text and the existing title perfectly matched, using "suggest_mode": "always".
We are using Elasticsearch 6.2 since we use AWS elasticsearch.

(sample codes)

  query = {
    "suggest": {
      "mysuggestion": {
        "text": query,
        "term": {
          "field": field,
          "suggest_mode": "always"
        }
      }
    }
  }

I appreciate any advice because we are almost stucked.
Thank you .

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