fake elasticsearch for doc