I am indexing a chunk of data (about 5 million records) on Kibana. When I search for a particular value say 'Presbyterian Wellness' I get 6 hits out of which the 6th document is the one I want to be highlighted first.
When I looked at the score of that particular document, I realized it is ranked 6th because of its score.
I am fairly new to the ELK stack, can someone help me some tips on how to increase the score.
I have tried using function_score but it only reflects results in the 'Dev Tools' tab and not on 'Discover'. Here's the code snippet:
GET /nppes/_search
{
"query": {
"function_score": {
"query": {
"multi_match": {
"fields": ["provider_first_name^5",
"provider_last_name^5",
"provider_organization_name^5",
"provider_other_organization_name^5"],
"minimum_should_match": "2",
"query": "presbyterian wellness"
}
}
}
}
}