Similarity comparision based only on boost parameter

Hello. I need to implement some kind of similarity comparison.
For example, lest assume that I have book object (with Author -boost 2, and
number of pages - 1). How can I force that other book with this same data
(author + number of pages_ will return score as a 2+1 ?
I really dont want to use any complex mathematical function. Just add a
boost params, when its match.
In other word max result should be sum of boost of individual fields

My query"
{
"query": {
"filtered": {
"query": {
"bool": {
"should": [
{
"match": {
"season": {
"query": 1,
"boost": 5
}
}
},
{
"match": {
"appliance": {
"query": 1,
"boost": 2
}
}
}
]
}
},
"filter": []
}
},
"min_score": 0
}
Max score is 1.2998674 But it should be 7

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ea61f261-643b-40a6-8ea5-b3025276a9fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.