How to test ES data without mocking, which is smart enough to figure out, what should be result at the top
Did google, found most of the libraries are mocking data, but as we have evolving ES indices and logic changes day by day, what should be best practise to follow.
You could configure your local elasticsearch to connect production DB when it creates the index.
Elastic serach testing on Production Database (Read only ES usecase)