In ES, how to use templates for all fields under a field, and not for fields outside the field.

now is a scenario where there are 50 fields under field A, and these fields are of the same type as the parser. You don"t want to specify one by one manually. You want to set the template.

but I"m afraid that setting a template will affect all fields, so is there a way to make the template valid only for fields under a certain field?

Mar.19,2021

solved. The template in the index specifies the field with path_match or match, and sets mapping

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e97036-473f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e97036-473f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?