It just assumes there's only one physical index behind the given alias, and it's the live one.  I probably could have made this clearer by calling it LIVE_INDEX.  It's possible to put multiple physical indexes behind an alias in ES but you can only use it for searching, trying to index against it will cause an error.