How to convert field to Java properties

I use elasticsearch-java version 8.10.4 rather than spring-data-elasticsearch.
In my elasticsearch index, the field is underline-word such as "user_id". But in my Java Object, it is "userId". when i get the SearchResponse, the value of "userId" is null, as all the camel-case properties. But the simple property like "id", "model", it works well. How can I resolve it ?

Need help, please

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.