Hi,

why do you try to configure the IndexWriter with outdated merge policies and 
lots of custom settings for buffering? I would start without any such settings 
and use IndexWriter with plain default settings. If I hit issues, then it may 
be useful to change merging and buffering settings. It looks like you prevented 
IndexWriter from merging at all. This of course would make queries slow, 
because you have way too many index segments (CFS files).

If you upgrade from very old Lucene versions, it is wise to remove any 
customizations and start with plain default settings.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: jaga_india [mailto:jaga....@gmail.com]
> Sent: Thursday, January 22, 2015 7:20 AM
> To: java-user@lucene.apache.org
> Subject: Re: Upgrade Lucene to latest version (4.0) from 2.4.0
> 
> Hi Sai,
> 
> hopes you have successfully migrated to 4.0
> 
> we also migrating from 2.4 to 4.10, but after updating to 4.10 it is taking 
> more
> time than 2.4.
> I have posted a query , below is the link... help me.
> 
> http://lucene.472066.n3.nabble.com/Multiple-CFS-files-are-generated-in-
> lucene-4-10-2-td4176336.html
> 
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Upgrade-Lucene-to-latest-version-4-0-
> from-2-4-0-tp4031956p4181090.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


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

Reply via email to