# nProbe Index for elasticsearch 7.0

**URL:** <https://discuss.elastic.co/t/nprobe-index-for-elasticsearch-7-0/189142>\
**Category:** Elasticsearch\
**Created:** [July 5, 2019, 5:14pm UTC](https://discuss.elastic.co/t/nprobe-index-for-elasticsearch-7-0/189142 "2019-07-05T17:14:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![njhashmi](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@njhashmi](https://discuss.elastic.co/u/njhashmi)\
**Post date:** [July 5, 2019, 5:14pm UTC](https://discuss.elastic.co/t/nprobe-index-for-elasticsearch-7-0/189142/1 "2019-07-05T17:14:01Z")

</div>

Hi,

I am trying to create a template for nprobe but my template code is old and needs some changed w.r.t to 7.0.

{  
"template" : "nprobe-_",  
"settings" : {  
"index.refresh\_interval" : "5s"  
},  
"mappings" : {  
"default" : {  
"\_all" : {"enabled" : true, "omit\_norms" : true},  
"dynamic\_templates" : [ {  
"string\_fields" : {  
"match" : "_",  
"match\_mapping\_type" : "string",  
"mapping" : {  
"type" : "string", "index" : "analyzed", "omit\_norms" : true,  
"fields" : {  
"raw" : {"type": "string", "index" : "not\_analyzed", "ignore\_above" : 256}  
}  
}  
}  
}, {  
"geo\_fields" : {  
"match" : "_IP\_LOCATION",  
"mapping": {  
"type": "geo\_point"  
}  
}  
}, {  
"ip\_fields" : {  
"match" : "IPV4_",  
"match\_mapping\_type" : "string",  
"mapping": {  
"type": "ip"  
}  
}  
} ],  
"properties" : {  
"@version": { "type": "string", "index": "not\_analyzed" }  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2019, 5:14pm UTC](https://discuss.elastic.co/t/nprobe-index-for-elasticsearch-7-0/189142/2 "2019-08-02T17:14:01Z")

</div>

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