maybe you can consult log files and it may show you something btw how do you post your command? do you use curl 'http://localhost:8983/solr/update?optimize=true' ? or posting a xml file?
2010/12/27 Rok Rejc <rokrej...@gmail.com>: > On Mon, Dec 27, 2010 at 3:26 AM, Li Li <fancye...@gmail.com> wrote: > >> see maxMergeDocs(maxMergeSize) in solrconfig.xml. if the segment's >> documents size is larger than this value, it will not be merged. >> > > I see that in my solrconfig.xml, but it is commented and marked as > deprecated. I have uncommented this setting (so the value was 2147483647) un > run the optmize again but it finished immediately and still left 21 > segments. > > Btw mergeFactor is set to 20, maxDoc is 121490241, the index will be > "read-only". > > Thanks. >