Re: Question about readVint & writeVint from DataOutput and DataInput

2021-09-03 Thread Aaron Cohen
Thank you for the clarification. > On Sep 3, 2021, at 10:46 AM, Uwe Schindler wrote: > > They are fully supported, so you can write and read them. > > The problem with negative numbers is that they need lot of (disk) space, > because in two's complement they have almost all bits set. The large

Re: Question about readVint & writeVint from DataOutput and DataInput

2021-09-03 Thread Uwe Schindler
They are fully supported, so you can write and read them. The problem with negative numbers is that they need lot of (disk) space, because in two's complement they have almost all bits set. The largest number is kinds of disk space is -1. Negative numbers appear in older index formats, so they

Question about readVint & writeVint from DataOutput and DataInput

2021-09-03 Thread Aaron Cohen
While reading the Lucene JavaDoc I came across writeVInt & readVInt from DataOutput and DataInput base