You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2024/10/25 11:39:15 UTC

(lucene) 01/03: Add MIGRATE entry about the fact that readVLong() may now read up to 10 bytes. (#13956)

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit e2c7b1ebed9f33d88db51db93eee48b96ab3d201
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Fri Oct 25 13:30:29 2024 +0200

    Add MIGRATE entry about the fact that readVLong() may now read up to 10 bytes. (#13956)
    
    This may be of interest for custom `DataInput`/`IndexInput` implementations
    that extend `readVLong()`.
---
 lucene/MIGRATE.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lucene/MIGRATE.md b/lucene/MIGRATE.md
index bf9e220390c..f4580eaff65 100644
--- a/lucene/MIGRATE.md
+++ b/lucene/MIGRATE.md
@@ -19,6 +19,13 @@
 
 ## Migration from Lucene 9.x to Lucene 10.0
 
+### DataInput#readVLong() may now read negative vlongs
+
+LUCENE-10376 started allowing `DataInput#readVLong()` to read negative vlongs.
+In particular, this feature is used by the `DataInput#readZLong()` method. A
+practical implication is that `DataInput#readVLong()` may now read up to 10
+bytes, while it would never read more than 9 bytes in Lucene 9.x.
+
 ### Changes to DataInput.readGroupVInt and readGroupVInts methods 
 
 As part of GITHUB#13820, GITHUB#13825, GITHUB#13830, this issue corrects DataInput.readGroupVInts