Added support for replication=async option when storing index document