(#663) - Support for doc_ids in replication