On 1/30/2013 6:24 PM, Shawn Heisey wrote:
If I had to guess about the extra space required for storing an int field, I would say it's in the neighborhood of 20 bytes per document, perhaps less. I am also interested in a definitive answer.
The answer is very likely less than 20 bytes per doc. I was assuming a larger size for VInt than it is likely to use. See the answer for this question:
http://stackoverflow.com/questions/2752612/what-is-the-vint-in-lucene Thanks, Shawn