You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Neil <ne...@ipdevco.com> on 2003/08/27 19:39:52 UTC

doc number as integer

It seems that since the index document number value is a positive int, this
restricts the number of documents in an index to ( 2^31 - 1 ) =
2,147,483,647.

Do I misunderstand?

I mean, that's enough for me, but it seems a kind of surprising restriction,
considering long could be used instead for unimaginably large numbers of
documents.  Well, I grant I probably can't imagine 2 billion documents
either, but google can.

Just curious, sorry to bother anyone.


Neil