Spring data elastic search repository doesn't work as expexcted. For the method below, it gives the following exception.
org.springframework.dao.InvalidDataAccessApiUsageException: Illegal criteria found 'IS_NULL (0): [IsNull, Null]'.
public interface CustomerRepository extends ElasticsearchRepository<Customer, Long> {
List<Customer> findByFirstNameIsNull();
}