Mapping the id value with a custom label (select input)

Hello, I have a select input profession with values like (1, 2, 3, 4). What should I use to map these values?
1 = develop
2 = farmer
...

And later I may need to rename a profession's label...
For example:
2 = rural farmer

I use Elasticsearch-PHP to communicate

Thank you

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