---
title: "Discussion on \"Quick use case : clean index mapping with reindexing data\" | Hashnode"
description: "Discussion on \"Quick use case : clean index mapping with reindexing data\". By mistake i added some documents to my elasticsearch index without providing an explicit mapping, elasticsearch did the job and add a default mapping like this :\n{\n  \"account_id\": {\n    \"type\": \"text\",\n    \"fields\": {\n      \"keyword\": {\n        \"typ..."
url: "https://hashnode.com/posts/quick-use-case-clean-index-mapping-with-reindexing-data/5ff9d540aa5c467fe1558a01"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Quick use case : clean index mapping with reindexing data](https://synapticiel.hashnode.dev/quick-use-case-clean-index-mapping-with-reindexing-data?utm_source=hashnode&utm_medium=feed)

By mistake i added some documents to my elasticsearch index without providing an explicit mapping, elasticsearch did the job and add a default mapping like this : { "account\_id": { "type": "text", "fields": { "keyword": { "typ...

Jan 7, 2021 · 4 min read · synapticiel.hashnode.dev  
Read the article

-   [#elasticsearch](https://hashnode.com/tag/elasticsearch)

## Written by

[Yassine LASRI](https://hashnode.com/@ylasri)

@ylasri · Rabat, Morocco

  
[View profile](https://hashnode.com/@ylasri)

synaptique.com

Product Manager at Synapticiel, IT &amp; Telecoms Professional, Interested in ML, AI, IoT, BigData, Cyber Security, RA, FMS, Next Generation BSS/OSS, Mobile Money

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
