I wanted to know about a function in Solr3.5.0 in the IndexWriter class. can anyone let me know what exactly the forceMerge() function does. Does it optimize the segments?
Thanks,
Jeyaprakash
I wanted to know about a function in Solr3.5.0 in the IndexWriter class. can anyone let me know what exactly the forceMerge() function does. Does it optimize the segments?
Thanks,
Jeyaprakash
Yes, forceMerge
is the successor of optimize
. There are two main reasons for this renaming:
You can read more about this renaming at https://issues.apache.org/jira/browse/LUCENE-3454