hi all, how it is possible to get the all the fields from an index that are mapped as a date for example
Hi @nikssssss
If your field has a prefix or endfix, you can use the command below to retrieve the fields: (you will retrieve fields that end with "date" like "creation_date", "end_date".
GET my-index-000001/_mapping/field/*date
Another option is to create a script (python) that received a json mapping and extract the field by type.
thanks , i know that, but i want to find the fields with type datetime. Sure i can do this with python..but i was thinking if i could use the rest interface (dev tools)
As far as I researched I couldn't find another way. Sorry.
thank you @RabBit_BR for your time
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.