elasticsearch/elasticsearch — Issue #1655: Swap indexes
Author: Mpdreamz
Created: 2012-02-01 12:20:39+00:00
State: open

I'm a bit at a loss how to correctly swap two indexes.

My full index process indexes in to a fresh index B/X how do i swap A/X over so it now holds the contents of B/X so that I can delete B/X again ?

It would be nice if this became a properly exposed method on the API too since its (i assume) a common usecase.