Skip to content

Apply analyzer

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