I'm following a tutorial on elastic search here. It is not with .NET but I've been able to pretty much follow everything being discussed using NEST. I've gotten to the part about mapping and I do not know how to represent the request below using NEST
curl -XPUT "http://localhost:9200/movies/movie/_mapping" -d'
{
"movie": {
"properties": {
"director": {
"type": "multi_field",
"fields": {
"director": {"type": "string"},
"original": {"type" : "string", "index" : "not_analyzed"}
}
}
}
}
}'
I have checked for solutions everywhere and the closest I could get was this stack overflow question.
How do I achieve this? I will also appreciate links to sites for complete beginners to elasticsearch with example I can follow.