On Sat, Apr 4, 2009 at 11:57 AM, deminix <demi...@gmail.com> 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
have.

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.

Mike

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

Reply via email to