On 11/4/2010 7:22 AM, stockiii wrote:
how can i start an optimize by using DIH, but NOT after an delta- or full-import ?
I'm not aware of a way to do this with DIH, though there might be something I'm not aware of. You can do it with an HTTP POST. Here's how to do it with curl:
/usr/bin/curl "http://HOST:PORT/solr/CORE/update" \ -H "Content-Type: text/xml" \ --data-binary '<optimize waitFlush="true" waitSearcher="true"/>' Shawn