lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "luocanrao" <luocan19826...@sohu.com>
Subject 答复: about lucene doc id recycle
Date Mon, 22 Mar 2010 13:46:20 GMT
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:uwe@thetaphi.de] 
发送时间: 2010年3月22日 21:11
收件人: java-user@lucene.apache.org
主题: 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: uwe@thetaphi.de


> -----Original Message-----
> From: Erick Erickson [mailto:erickerickson@gmail.com]
> Sent: Monday, March 22, 2010 2:05 PM
> To: java-user@lucene.apache.org
> 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 <luocan19826164@sohu.com>
> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message