For example:
In the search query, if am providing the inputs as "IndianOil" then the ES should able to fetch the result with the "Indian Oil" & "IndianOil". Below is the query am currently using in ES 6.3. Please let me know if you have any solution for this.
GET myindex/_search
{
"query": {
"bool": {
"must": [
{
"bool": {
"should": [
{
"multi_match": {
"fields": [
"company_name"
],
"query": "Indian Oil",
"type": "phrase"
}
}
]
}
}
]
}
}
}