Boosting in Elastic 5
Boost the score:
GET books/book/_search
{
"query" : {
"multi_match": {
"query" : "Elastic",
"fields" : ["title", "description^2"]
}
}
}
description^2 : 2 * score of the docs that contents "Elastic" in their description fields.