Manual optimize is no longer needed for modern Solr. It does great optimization automatically. The only reason I recommended it here is to make sure that all segments are brought up to the latest version and the deleted documents are purged. That's something that also would happen automatically eventually, but "eventually" was not an option for you.
I am glad this helped. I am not 100% sure if you have to do it on each shard in SolrCloud mode, but I suspect so. Regards, Alex. ---- Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 12 March 2015 at 17:24, shamik <sham...@gmail.com> wrote: > Wow, "optimize" worked like a charm. This really addressed the docvalues > issue. A follow-up question, is it recommended to run optimize in a > Production Solr index ? Also, in a Sorl cloud mode, do we need to run > optimize on each instance / each shard / any instance ? > > Appreciate your help Alex. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-5-0-migration-IllegalStateException-unexpected-docvalues-type-NONE-on-fields-using-docvalues-tp4192477p4192732.html > Sent from the Solr - User mailing list archive at Nabble.com.