APIs for Create Index Template & Dynamic Template

Hi All,

I'm using ElasticSearch 2.3.4 and NEST sdk for my .Net Application. I'm trying to define below Index Template and Dynamic Template using Nest Client but not able to identify appropriate APIs for the same,

{
"template": "",
"settings":{
"index":{
"analysis":{
"analyzer":{
"analyzer_keyword":{
"tokenizer":"keyword",
"filter":"lowercase"
}
}
}
},
"number_of_shards" : 5,
"number_of_replicas" : 0
},
"mappings": {
"default": {
"numeric_detection": true,
"dynamic_templates": [
{
"string_analyzer": {
"match_mapping_type": "string",
"match": "
",
"mapping": {
"type": "string",
"analyzer":"analyzer_keyword"
}
}
}
]
}
}
}

Any help is appreciated.

Thanks,
Sreeram

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.