Apply analyzer
curl -s "localhost:9200/movies/_analyze" \
--request GET \
--header "Content-Type: application/json" \
--data @analyze.json \
| jq .
{
"analyzer": "autocomplete",
"text": "Sta"
}
curl -s "localhost:9200/movies/_analyze" \
--request GET \
--header "Content-Type: application/json" \
--data @analyze.json \
| jq .
{
"analyzer": "autocomplete",
"text": "Sta"
}