How to check if a document exists for a specified Id and alias name

Check whether document returned is from a read or a write index is the best answer you will get for this.

1 Like