# FSRiver overrides my mapping

**URL:** <https://discuss.elastic.co/t/fsriver-overrides-my-mapping/22566>\
**Category:** Elasticsearch\
**Created:** [March 6, 2015, 9:27pm UTC](https://discuss.elastic.co/t/fsriver-overrides-my-mapping/22566 "2015-03-06T21:27:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinnyb0341](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@vinnyb0341](https://discuss.elastic.co/u/vinnyb0341)\
**Post date:** [March 6, 2015, 9:27pm UTC](https://discuss.elastic.co/t/fsriver-overrides-my-mapping/22566/1 "2015-03-06T21:27:02Z")

</div>

Hi, I am having an issue with FSriver and my mapping. I set up my index with its mapping, before I even set up the river. I can check the mapping at that point and it shows my mapping. However, once I start the river and it indexes data. The mapping has changed to FSriver's mapping. Does anyone have a fix for it or has anyone else seen this? Here is my elasticsearch stuff.

POST /docs/mydocs  
{  
"mappings":{  
"properties":{  
"title": "string",  
"author": "string",  
"content": "string"  
}  
}  
}  
PUT \_river/helpriver/\_meta  
{  
"type": "fs",  
"fs":{  
"url": "this is where my directory goes",  
"includes": [".\*doc", ".\*docx"],  
"update\_rate": "10000"  
},  
"index":{  
"index": "docs",  
"type": "mydocs"  
}  
}  
Thanks

---

<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:** [July 6, 2017, 12:27am UTC](https://discuss.elastic.co/t/fsriver-overrides-my-mapping/22566/2 "2017-07-06T00:27:55Z")

</div>

Closed on July 6, 2017, 12:27am UTC


