# Is consistent scoring across 2 documents that match either 1 of 2 properties possible?

**URL:** <https://discuss.elastic.co/t/is-consistent-scoring-across-2-documents-that-match-either-1-of-2-properties-possible/16007>\
**Category:** Elasticsearch\
**Created:** [February 25, 2014, 10:54am UTC](https://discuss.elastic.co/t/is-consistent-scoring-across-2-documents-that-match-either-1-of-2-properties-possible/16007 "2014-02-25T10:54:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michelle\_May](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@Michelle\_May](https://discuss.elastic.co/u/Michelle_May)\
**Post date:** [February 25, 2014, 10:54am UTC](https://discuss.elastic.co/t/is-consistent-scoring-across-2-documents-that-match-either-1-of-2-properties-possible/16007/1 "2014-02-25T10:54:39Z")

</div>

Hi,

We've been struggling with this for a few days now so I think it is time to  
pick the expert brains, although probably best to explain by delving  
straight into an example:

1. Assuming we have the following document:

{

```
"id": "/people/person1",

"dob": "1980-04-12",

"fullname": "Mickey Arthur Mouse",

"aliasfullname": "Mickey Bernard Mouse"

```

}

1. When we do the this search:

we get score 13.37 (for example)

1. Now, assuming we have this document (same as above except no  
aliasfullname)

{  
"id": "/people/person1",  
"dob": "1980-04-12",  
"fullname": "Mickey Arthur Mouse"  
}

1. When we do the search from step 2 above we get score 3.76 (for example)

How can we ensure that if a search is done on either the real name or the  
alias name (we won't know which is being searched on) that a person with an  
alias does not get scored higher than someone without an alias? What type  
of query could we use to ensure that both searches return the same score?  
We've tried dis\_max and have omit\_norms: true on the searched fields but  
nothing gives the same score so I am beginning to wonder if it is an  
unrealistic expectation.

Any assistance/advice would be greatly appreciated.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/aff6faac-3ead-4a69-ab70-12d2ccd3bc59%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/aff6faac-3ead-4a69-ab70-12d2ccd3bc59%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:47am UTC](https://discuss.elastic.co/t/is-consistent-scoring-across-2-documents-that-match-either-1-of-2-properties-possible/16007/2 "2017-07-06T01:47:30Z")

</div>


