lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yogesh patel <yogeshpateldai...@gmail.com>
Subject Re: Lucene: Index Writer to write in multiple file instead make one heavy file
Date Wed, 14 May 2014 14:08:15 GMT
Thanks for reply!!!!!!!!!!!

Can you please provide me sample code for it? I got the idea but i dont
know how to implement it.

Thanks


On Tue, May 13, 2014 at 7:02 PM, Michael McCandless <
lucene@mikemccandless.com> wrote:

> 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
> <yogeshpateldaiict@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 




*Regards,Yogesh Patel*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message