Hi,

On Fri, Feb 1, 2013 at 6:51 PM, saisantoshi <saisantosh...@gmail.com> wrote:
> Prior to 4.0, there was an optimize() in the IndexWriter which was merging
> the index files. Is there any settings that can be done on the
> TieredMergePolicy so that I want to limit the number of files produced
> during the indexing.

Segments can be merged by running IndexWriter.forceMerge(1). You can
read more about this command and why it is not recommended to use it
anymore at 
http://www.searchworkings.org/blog/-/blogs/simon-says%3A-optimize-is-bad-for-you.

-- 
Adrien

---------------------------------------------------------------------
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