Can I use wildcard pattern to determine index analyzer for elasticsearch?
For example: "properties":
{
"0_*" : {"type": "string", "index_analyzer": "standard" } ,
"1_*" : {"type": "string", "index_analyzer": "my_analyzer"}
}
So now if there is a new field when I index the document like
{
"0_title" : "some string", // should use standard analyzer
"1_title" : "my anazlyer string" // should use my_analyzer
}
Is there anyway to achieve this?