Skip to content

Commit 44de1d3

Browse files
committed
Document scoring and ranking behavior across major versions
1 parent ee4522f commit 44de1d3

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

lucene/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ Other
159159
* GITHUB#14607: Index open performs version check on each segment, ignores indexCreatedVersionMajor (Rahul Goswami)
160160
* GITHUB#15454: Restore binary readability for 8.x indexes like previously and throw IndexFormatTooOldException for an older default codec not found on classpath (Rahul Goswami)
161161

162+
* GITHUB#15586: Document that scoring and ranking may change across major Lucene versions, and that applications requiring stable ranking should explicitly configure Similarity. (Parveen Saini)
163+
162164
======================= Lucene 10.4.0 =======================
163165

164166
API Changes

lucene/MIGRATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ As part of GITHUB#13820, GITHUB#13825, GITHUB#13830, this issue corrects DataInp
122122
to be public and not-final, allowing subclasses to override it. This change also removes the protected
123123
DataInput.readGroupVInt method: subclasses should delegate or reimplement it entirely.
124124

125+
### Scoring and ranking across major versions
126+
127+
Lucene does not guarantee identical scoring or document ranking behavior across
128+
major version upgrades. Changes may occur due to improvements or modifications
129+
in Similarity implementations, query execution, or related internals.
130+
131+
Applications that require stable ranking behavior across upgrades should
132+
explicitly configure the Similarity used for indexing and searching rather than
133+
relying on defaults. Reviewing `CHANGES.txt` for intervening major versions is
134+
recommended when upgrading.
135+
125136
### OpenNLP dependency upgrade
126137

127138
[Apache OpenNLP](https://opennlp.apache.org) 2.x opens the door to accessing various models via the ONNX runtime. To migrate you will need to update any deprecated OpenNLP methods that you may be using.

0 commit comments

Comments
 (0)