To send an optimize command, POST an <optimize/> message to /solr/update
Erik On May 20, 2009, at 6:49 AM, Gargate, Siddharth wrote:
Hi all, I am not sure how to call optimize on the existing index. I tried with following URL http://localhost:9090/solr/update?optimize=true With this request, the response took a long time, and the index folder size doubled. Then again I queried the same URL and index size reduced to actual size and I got the response immediately. Is this expected behavior? Is there any other way to call optimize? Thanks, Siddharth