lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Term Limit?
Date Sat, 04 Apr 2009 16:06:25 GMT
On Sat, Apr 4, 2009 at 11:57 AM, deminix <> wrote:
> Yea.  That is all that matters anyway right, is the limit at the segment
> level?

Well... the problem is when merges kick off.

You could have N segments that each are below the limit, but when a
merge runs the merged segment would try to exceed the limit, because
you can't easily predict how many unique terms the merged segment will

I guess you could guarantee safety by never allowing the sum of the
unique term count across all segments to exceed 2^31-1, but that may
be a too-restrictive safety margin.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message