I'm facing the issue with elastic Search, Actually I've search query given bellow and By using this search query I'm facing the issue with long text, whenever I type long text to search then search isn't giving proper response until search text not matched upto 90%, For example if i search for corporate and I type corp or corpor then it's not giving corporate assets until I type corpora, Instead of long text, In short text it's working if i type for cort then it's giving result
``
let SearchQueryWIthMatch ={
"size": itemPerPage,
"from":startFrom,
"track_total_hits": true,
"query": {
"bool": {
"must": {
"multi_match": {
"fields": ["name^2", "default_keyword^1"],
"query": `${this.searchQuery}`,
"fuzziness": 2,
"operator": "and"
}
},
"filter": {
"bool": {
"must": [
{
"term": {
"is_adult": "no",
},
},
{
"term": {
"catlogue": CatlougeTypeConstants.catlogue,
},
}
]
}
}
},
}
}
``