Elasticsearch java Rest High level Client

okay i got it, i need use AND condition ex: (year is so and so AND Name is so and so) for this what i need to do?