Thank you for posting your question.
Please note that the field names for any data source can be changed with the help of the Flexmonster’s Mapping object:
More info & examples for this here: https://www.flexmonster.com/api/mapping-object/
We hope this helps.
I have tried the following, but it does not rename the field. Does caption work on Elasticsearch data sources?
Thank you for your reply.
We’d like to confirm that the
caption property is available for the Elasticsearch data source as well. Please make sure you specify the correct field name in your mapping configurations in order for it to work properly.
Here’s a quick sample illustrating how this can be achieved: https://jsfiddle.net/flexmonster/39cqbx2d/
Please let us know if this helps.