79772418

Date: 2025-09-23 09:23:47
Score: 0.5
Natty:
Report link

In Lucene, scores can differ between partitions even if the document fields match exactly. The reason is that Lucene’s scoring depends not only on term frequency (TF) and inverse document frequency (IDF) within each partition but also on how big and diverse the index is.

For example:

If you want consistent scores across partitions, you’d need to:

  1. Use a MultiSearcher / IndexReader that merges statistics across indexes.

  2. Or normalize the scores manually after retrieval if you’re always querying partitions separately.

The important part is: scores are relative within a single index, not absolute across different ones. As long as the top matches are identical, the small score difference doesn’t usually matter.

By the way, I recently wrote about how Lucene scoring concepts feel similar to how different worlds are weighted in Anime Witcher — worth checking if you like technical + fantasy blends.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: john wick