You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Antony Bowesman <ad...@teamware.com> on 2008/12/18 04:16:06 UTC

addIndexesNoOptimize question

The javadocs state

"This requires ... and the upper bound* of those segment doc counts not exceed 
maxMergeDocs."

Can one of the gurus please explain what that means and what needs to be done to 
find out whether an index being merged fits that criteria.

Thanks
Antony




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


Re: addIndexesNoOptimize question

Posted by Antony Bowesman <ad...@teamware.com>.
Thanks Mike, I'm still on 2.3.1, so will upgrade soon.
Antony


Michael McCandless wrote:
> This was an attempt on addIndexesNoOptimize's part to "respect" the 
> maxMergeDocs (which prevents large segments from being merged) you had 
> set on IndexWriter.
> 
> However, the check was too pedantic, and was removed as of 2.4, under 
> this issue:
> 
>     https://issues.apache.org/jira/browse/LUCENE-1254
> 
> Mike



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


Re: addIndexesNoOptimize question

Posted by Michael McCandless <lu...@mikemccandless.com>.
This was an attempt on addIndexesNoOptimize's part to "respect" the  
maxMergeDocs (which prevents large segments from being merged) you had  
set on IndexWriter.

However, the check was too pedantic, and was removed as of 2.4, under  
this issue:

     https://issues.apache.org/jira/browse/LUCENE-1254

Mike

Antony Bowesman wrote:

> The javadocs state
>
> "This requires ... and the upper bound* of those segment doc counts  
> not exceed maxMergeDocs."
>
> Can one of the gurus please explain what that means and what needs  
> to be done to find out whether an index being merged fits that  
> criteria.
>
> Thanks
> Antony
>
>
>
>
> ---------------------------------------------------------------------
> 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