<p>In Lucene if you had multiple indexes that covered only one partition each. Why does the same search on different indexes return results with different scores? The results from different servers match exactly. </p>

<p>i.e. if I searched for :</p>

<ul>
<li>Name - John Smith</li>
<li>DOB - 11/11/1934</li>
</ul>

<p><strong>Partition 0</strong> would return a score of 0.345</p>

<p><strong>Partition 1</strong> would return a score of 0.337</p>

<p>Both match exactly on name and DOB.</p>

[{'answer_id': 391, 'author': 'Stephen Hendry', 'author_id': 134, 'author_profile': 'https://Stackoverflow.com/users/134', 'pm_score': 4, 'selected': False, 'text': '<p>The <a href="http://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/search/Similarity.html" rel="noreferrer">scoring</a> contains the Inverse Document Frequency(IDF). If the term "John Smith" is in one partition, 0, 100 times and in partition 1, once. The score for searching for John Smith would be higher search in partition 1 as the term is more scarce.</p>\n\n<p>To get round this you would wither have to have your index being over all partitions, or you would need to override the IDF.</p>\n'}, {'answer_id': 392, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 4, 'selected': False, 'text': '<p>Because the score is determined on the index if I am not completely mistaken. </p>\n\n<p>If you have different indexes (more/less or different data that was indexed), the score will differ:</p>\n\n<p><a href="http://lucene.apache.org/core/3_6_0/scoring.html" rel="noreferrer">http://lucene.apache.org/core/3_6_0/scoring.html</a></p>\n\n<p>(Warning: Contains Math :-))</p>\n'}, {'answer_id': 551, 'author': 'Joe Shaw', 'author_id': 156, 'author_profile': 'https://Stackoverflow.com/users/156', 'pm_score': 3, 'selected': False, 'text': '<p>You may also be interested in the output of the <a href="https://lucene.apache.org/core/3_6_2/api/all/org/apache/lucene/search/IndexSearcher.html#explain(org.apache.lucene.search.Query,%20int)" rel="noreferrer"><code>explain()</code> method</a>, and the resulting <a href="https://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/search/Explanation.html" rel="noreferrer"><code>Explanation</code> object</a>, which will give you an idea of how things are scored the way they are.</p>\n'}]
['https://Stackoverflow.com/questions/387', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/134/']