I am using query_string
to search for records from Elastic,
Example Query :
GET /stories_qa/_search
{
"query": {
"query_string": {
"query": "Johnson && Johnson"
}
}
}
This query gives me relevant records, but the exact match record is not on top, I figured out on how we can boost records based on specific fields, but in my case, I don't want to provide field and make search restrictive, Is there an option in ElasticSearch to achieve the same.