I have a number field in my index that states the job id and I want to filter by a specific job. So I want to create a 'control' to choose one job id from an options list. But whenever I choose the field the only option is "Range slider". How can I change that?
CodePudding user response:
It's most probably because job_id
is mapped as a number and not a keyword.
So you can either change your mapping and reindex your data or create a keyword
sub-field, update your index in place and then use the ...job_id.keyword
field so create your control. An example of the second option can be found in this thread