lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. Burton" <>
Subject 2,147,483,647 max documents?
Date Mon, 11 Aug 2003 07:07:04 GMT
Why was an int chosen to represent document handles?  Is there a reason 
for this?  Why wasn't a long chosen to represent document handles?  64 
bits seems like the obvious choice here except for a potentially bloated 
datastore.... (32 extra bits)

I guess one possible solution is to use multiple indexes.  This way you 
could run the search on each index and build a 64bit handle with the 
first 32bits being the index handle and the second 32bits being the 
local handle.


Help Support NewsMonster Development!  Purchase NewsMonster PRO!

Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
       AIM - sfburtonator,  Web -
GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
  IRC - #infoanarchy | #p2p-hackers | #newsmonster

View raw message