Hello..
Kindly anybody can tell this mapping will work...or not
PUT redmi
{
"mappings": {
"products": {
"properties": {
"title": {
"type": "keyword",
"fields": {
"keyword": {
"type": "completion"
}
}
},
"weight": {
"type": "integer"
}
}
}
}
}
Actually I am putting data title from another index to this above another index...
So can anybody suggest this will work...saving as a keyword but searching with completion.
Thank you.