I am new to Elastic Search and I am trying to implement it using Spring -data-elasticsearch.
I have fields with names such as "Transportation", "Phone Number" in our elastic search documents.
When I try to match the fields of the @Domain object with them, I do not get any data for them, because I could not successfully match these fields.
I tried to use @Field, I was disappointed, because it did not have the "name" property for matching with the custom field name.
Tried different variations of the GETTER function, none of them seem to display these fields.
I began to wonder if there is something here that I do not see here. What does the domain object field that should appear in a file called "Transport" look like?
Any help appreciated
source share