I'm trying to create an enum field from the admin console but I can't achieve it right I went through Elasticsearch's documentation but I don't really understand everything.
"ville": {
"type": "enum",
"typeOptions": {
"values": ["Montpelier", "Paris", "Lmoges", "Grenoble", "Bordeaux", "Rodez"],
"mandatory": "true"
}
}
}
Can someone guide me, please?