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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes,
forceMergeis the successor ofoptimize. There are two main reasons for this renaming:You can read more about this renaming at https://issues.apache.org/jira/browse/LUCENE-3454