Exclude null containing key (records) while executing range Query in Elastic search JAVA Rest client

Thank you very much @William_Brafford . This is what I've been looking for. Worked.