Why do you think you need to optimize? Most configurations don’t need that.
And no, there is not synchronous optimize request. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Nov 28, 2018, at 6:50 PM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > > Hi, > > How big is your index size, and do you have enough space in your disk to do > the optimization? You need at least twice the disk space in order for the > optimization to be successful, and even more if you are still doing > indexing during the optimization. > > Also, which Solr version are you using? > > Regards, > Edwin > > On Thu, 29 Nov 2018 at 09:23, Wei <weiwan...@gmail.com> wrote: > >> Hi, >> >> I use the following http request to start solr index optimization: >> >> http://localhost:8983/solr/<core>/update?skipError=true -F stream.body=' >> <optimize />' >> >> >> The request returns status code 200 shortly, but when looking at the solr >> instance I noticed that actual optimization has not completed yet as there >> are more than 1 segments. Is the optimize command async? What is the best >> approach to validate that optimize is truly completed? >> >> >> Thanks, >> >> Wei >>