# Elasticsearch how to give fix score for specific fields

**URL:** <https://discuss.elastic.co/t/elasticsearch-how-to-give-fix-score-for-specific-fields/129485>\
**Category:** Elasticsearch\
**Created:** [April 25, 2018, 12:27pm UTC](https://discuss.elastic.co/t/elasticsearch-how-to-give-fix-score-for-specific-fields/129485 "2018-04-25T12:27:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karanlevaral](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@karanlevaral](https://discuss.elastic.co/u/karanlevaral)\
**Post date:** [April 25, 2018, 12:27pm UTC](https://discuss.elastic.co/t/elasticsearch-how-to-give-fix-score-for-specific-fields/129485/1 "2018-04-25T12:27:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 23, 2018, 12:27pm UTC](https://discuss.elastic.co/t/elasticsearch-how-to-give-fix-score-for-specific-fields/129485/2 "2018-05-23T12:27:59Z")

</div>

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