Hi ,
i have data uploaded in elastic search as below , if try to query for "vendor" , name having this text in them, it does not yield any result. But if i give exact name then it fetches the record.
please help
ElasticSearch ver: 6.6.0
Kibana: 6.6.0
OS: Windows 10 Pro
other details are as below
My code to query is as below
mapping info as below
{
"mapping": {
"vendor": {
"properties": {
"address": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"email": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"phone": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}
mapping was created as below
input
Vendor