running the below piece of code :
PUT /data/row/1
{
"name":"vijay"
}
creates the index where "name" field is of type "text" and "keyword" both :
{
"data": {
"mappings": {
"row": {
"properties": {
"name": {
"type": "text", <--------
"fields": {
"keyword": {
"type": "keyword", <--------
"ignore_above": 256
}
}
}
}
}
}
}
}
How can I stop this behaviour of text field to automatically becoming keyword, using the same above code (1st)