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 .