Query question: scoring docs with a field in common lower

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!

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