I want to re_index only selected fields from my document in elasticsearch using Rest High level client. I know the elasticsearch query to achieve that but I don’t know it’s equivalent query using rest client. Following is the elasticsearch query which I am trying to implement using rest client – To write its equivalent query using rest client in java,