# Query question: scoring docs with a field in common lower

**URL:** https://discuss.elastic.co/t/query-question-scoring-docs-with-a-field-in-common-lower/202208
**Category:** Elasticsearch
**Created:** [October 3, 2019, 3:40pm UTC](https://discuss.elastic.co/t/query-question-scoring-docs-with-a-field-in-common-lower/202208 "2019-10-03T15:40:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ianehlert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ianehlert/32/55255_2.png) [@ianehlert](https://discuss.elastic.co/u/ianehlert)
#### Post date: [October 3, 2019, 3:40pm UTC](https://discuss.elastic.co/t/query-question-scoring-docs-with-a-field-in-common-lower/202208/1 "2019-10-03T15:40:23Z")

</div>

This is probably a solved problem, but I'm having trouble figuring out how to search for the way to do this in elasticsearch.

I'd like to be able to apply a weight to the score on documents that share a field value. For example, if I have a bunch of posts, I'd like multiple posts by a single user to be scored lower for each subsequent one found. The first one would have an unmodified score, the next would have a weight of 0.9 applied to its score, and so on. There are other filters, etc that would be applied, but that's the simplest case.

Any pointers would be much appreciated!

---

<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: [October 31, 2019, 3:40pm UTC](https://discuss.elastic.co/t/query-question-scoring-docs-with-a-field-in-common-lower/202208/2 "2019-10-31T15:40:39Z")

</div>

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