: > Normally to optimize an index you POST <optimize/> to /solr/update.  Is
: > there any way to POST an optimize message to one instance and have it
: > propagate to all shards sort of like the select?
: >
: > /solr-shard-1/select?q=dog... shards=shard-1,shard2

: No, you'll need to send optimize to each host separately.

and for the record: it would be relatively straight forward to impliment 
something like this (just like distributed search) ... but it has very 
little value.  clients doing "indexing" operations have to send add/delete 
commands directly to the individual shards, so they have to send teh 
commit/optimize commands directly to them as well.

if/when someone writes a distributed indexing handler, making it support 
distributed optimize/commit will be fairly trivial.





-Hoss

Reply via email to