Thanks,do you means that in any situation the docids maximum number maybe somewhere between current doc count and about 3 times doc count. No more than 4 times doc count
-----邮件原件----- 发件人: Uwe Schindler [mailto:[email protected]] 发送时间: 2010年3月22日 21:11 收件人: [email protected] 主题: RE: about lucene doc id recycle Andi s you not optimize, as soon as two segments are merged, the docids are also reassigned. It just takes some time. Normally the docids maximum number maybe somewhere between current doc count and about 3 times doc count. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Erick Erickson [mailto:[email protected]] > Sent: Monday, March 22, 2010 2:05 PM > To: [email protected] > Subject: Re: about lucene doc id recycle > > Yes, when you call optimize, one side effect is that all the doc IDs > are > reassigned > so they're contiguous...... > > HTH > Erick > > On Mon, Mar 22, 2010 at 8:22 AM, luocanrao <[email protected]> > wrote: > > > Total document number is not very big, but update is very frequency. > > > > So I wonder whether the doc id is growing bigger and bigger and never > > getting smaller. > > > > Do lucene has some technique recycling doc id?? > > > > > > > > Ps: I never call optimize method. > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
