Elasticsearch how to give fix score for specific fields

In Elasticsearch how to give fix score for specific field. For e.g document has fields city, price etc.. so if i search by city with 'New York', it fetch all records with the city(New York) and increment score by 1, if i search by city(New York) and price(50) it fetch all record which has city(New your) OR price(50), if document has both matched it will show score 2 other wise 1

In short i want to have fix score based on every matched fields not something as the Elasticsearch gives by default

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.