Max Segmentation Size when Optimizing Index

2010-01-13 Thread Trin Chavalittumrong
Hi, I am trying to optimize the index which would merge different segment together. Let say the index folder is 1Gb in total, I need each segmentation to be no larger than 200Mb. I tried to use *LogByteSizeMergePolicy *and setMaxMergeMB(100) to ensure no segment after merging would be 200Mb. How

Re: Max Segmentation Size when Optimizing Index

2010-01-13 Thread Trin Chavalittumrong
limited the resultant merged segment, though that'd > by a rough approximation at best. > > Jason > > On Wed, Jan 13, 2010 at 1:36 PM, Trin Chavalittumrong > wrote: > > Hi, > > > > > > > > I am trying to optimize the index which would merge dif

Re: Max Segmentation Size when Optimizing Index

2010-01-13 Thread Trin Chavalittumrong
inside LogMergePolicy. I think it ignores the maxMergeMB > param. > > On Wed, Jan 13, 2010 at 1:49 PM, Trin Chavalittumrong > wrote: > > Thanks, Jason. > > > > Is my understanding correct that > LogByteSizeMergePolicy.setMaxMergeMB(100) > > will prevent &

Re: Max Segmentation Size when Optimizing Index

2010-01-13 Thread Trin Chavalittumrong
Right, so normal merging uses the findMerges method, then > there's a findMergeOptimize (method names could be inaccurate). > > On Wed, Jan 13, 2010 at 2:29 PM, Trin Chavalittumrong > wrote: > > Do you mean MergePolicy is only used during index time and will be &g