Does "maxSegments" really apply to commits?

2010-08-17 Thread Eric Pugh
Hi all, I wanted to double check the docs at http://wiki.apache.org/solr/UpdateXmlMessages, does the parameter maxSegments really apply to a commit message? In UpdateRequest.java the code: if( action == ACTION.OPTIMIZE ) { params.set( UpdateParams.OPTIMIZE, "true" ); params.s

Re: Does "maxSegments" really apply to commits?

2010-08-17 Thread Lance Norskog
That is correct- maxSegments controls the target number of segments for an optimize. If you use maxSegments or above, nothing will happen. On Tue, Aug 17, 2010 at 11:27 AM, Eric Pugh wrote: > Hi all, > > I wanted to double check the docs at > http://wiki.apache.org/solr/UpdateXmlMessages, does t