Search elasticsearch with java client using JSON query

Hi,

I used this code. I think it's fetching records for all records in ES DB. How to specify the index here?