You can tell the MergePolicy to limit the maximum size of segments it should merge.
Also, you should try to upgrade: 3.0.1 is REALLY old. Mike McCandless http://blog.mikemccandless.com On Tue, May 13, 2014 at 1:58 AM, Yogesh patel <yogeshpateldai...@gmail.com> wrote: > HI > > I am using lucene 3.0.1. I am writing many documents with lucene > Indexwriter. But Indexwriter add all documents into file which becomes more > than 4GB in my case. so can i distribute files or partitioned ? > > -- > > > > > *Regards,Yogesh Patel* --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org