Issue with max_determinized_states while selecting 1500+ columns

Hi Team,

I am trying to query elasticsearch from spark - However, running into the below error while selecting 1500+ columns:

org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: org.elasticsearch.hadoop.rest.EsHadoopRemoteException: too_complex_to_determinize_exception: Determinizing automaton with 70543 states and 71542 transitions would result in more than 10000 states.

We are executing a range query on a date field while extracting data from the index. Could you please help out in identifying how we can resolve this issue.

Thanks,
Kavita