Could you re-ask this question on java-user instead?  Thanks.

This list is used for discussing changes to Lucene's internal source
code, whereas your question is more about how to use Lucene's API,
externally.

Mike

On Tue, Jan 12, 2010 at 9:15 PM, Trin Chavalittumrong
<tri...@microsoft.com> wrote:
> 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.
> However, I still see segment that are larger than 200Mb. I did call
> IndexWriter.optimize(20) to make sure there are enough number segmentation
> to allow each segment to be under 200Mb.
>
>
>
> Can someone let me know if I am using this right? Or any suggestion on how
> to tackle this would be helpful.
>
>
>
> Thanks,
>
> Trin
>
>

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

Reply via email to