Use Case
My document contains
- various date-time fields names
*Time
and*At
—shipmentTime
,createdAt
etc.
- boolean fields of the form
is_*
—is_premium
,is_company
etc.
- other fields that I all want to declare as
keywords
.
How can I auto-generate mappings for these 3 field varieties?
Approach
You already know you should be utilizing
match_mapping_type
along with match
and/or unmatch
so you may be tempted to use