Controll filter Id to names

Im having filed in my index type integer, which is type of document, and I would like to create filter on this field but instead of ints (1, 2, 3) I would like to have document type names, which I dont have in my index.

So I could have
type 1
type 2
type 3

instead of
1
2
3

Hello,

What does type refer to here? Is that another field in your index document or you want to just add type at the beginning of your integer field?

Thanks,
Bhavya

No I would like to have dropdown control like html select
where value is a value from index field, and description is set by me / or both are taken from outside resource.

Big picture is that I have logs where I have user id and would like to have list of users names rather than Ids so that my end users can use it