On 5/17/2016 11:04 PM, Binoy Dalal wrote:
> Is there no api call that can optimize an entire collection? I tried
> the collections api page on the confluence wiki but couldn't find
> anything, and a Google search also yielded no meaningful results.

With SolrCloud, if you either send an optimize request to the
collection, or to *any* core in that collection, Solr will proceed to
optimize every core in the collection, one at a time, until they are all
done.

Optimize requests go to the /update handler, just like indexing
requests, commits, etc.

Here's some information on sending requests to the update handler,
including commit and optimize:

https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers

Thanks,
Shawn

Reply via email to