# \[ANN\] FsRiver 0.4.0 (breaking change)

**URL:** <https://discuss.elastic.co/t/ann-fsriver-0-4-0-breaking-change/14999>\
**Category:** Elasticsearch\
**Created:** [December 23, 2013, 1:48pm UTC](https://discuss.elastic.co/t/ann-fsriver-0-4-0-breaking-change/14999 "2013-12-23T13:48:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 23, 2013, 1:48pm UTC](https://discuss.elastic.co/t/ann-fsriver-0-4-0-breaking-change/14999/1 "2013-12-23T13:48:06Z")

</div>

I am pleased to announce the fsriver-0.4.0 release!

FS River Plugin offers a simple way to index local files into Elasticsearch.  
See full documentation on Github: [https://github.com/dadoonet/fsriver](https://github.com/dadoonet/fsriver)

Changes in this version include:

New features:  
o Option to not delete documents when files are removed. Issue: [https://github.com/dadoonet/fsriver/issues/35](https://github.com/dadoonet/fsriver/issues/35) .  
o Store origin URL in documents. Issue: [https://github.com/dadoonet/fsriver/issues/37](https://github.com/dadoonet/fsriver/issues/37) .  
o Add option to store original file as binary. Issue: [https://github.com/dadoonet/fsriver/issues/40](https://github.com/dadoonet/fsriver/issues/40) .

Fixed Bugs:  
o Check that server/login are defined when using ssh. Issue: [https://github.com/dadoonet/fsriver/issues/29](https://github.com/dadoonet/fsriver/issues/29) .  
o Index is not updated when files are deleted on windows platform. Issue: [https://github.com/dadoonet/fsriver/issues/32](https://github.com/dadoonet/fsriver/issues/32) . Thanks to Fabien Gaujous.

Changes:  
o Update to Elasticsearch 0.90.7. Issue: [https://github.com/dadoonet/fsriver/issues/36](https://github.com/dadoonet/fsriver/issues/36) .  
o Replace mapper-attachment plugin by Tika. Issue: [https://github.com/dadoonet/fsriver/issues/38](https://github.com/dadoonet/fsriver/issues/38) .  
o New json document mapping for docs. (Breaking) Issue: [https://github.com/dadoonet/fsriver/issues/39](https://github.com/dadoonet/fsriver/issues/39) .

Note that generated documents by the river changed with a fancier structure like:  
{  
"file":{  
"filename":"test.odt",  
"last\_modified":1386855978000,  
"indexing\_date":"2013-12-12T13:50:58.758Z",  
"content\_type":"application/vnd.oasis.opendocument.text",  
"url":"file:///tmp/testfs\_metadata/test.odt",  
"indexed\_chars":100000,  
"filesize":8355  
},  
"path":{  
"encoded":"bceb3913f6d793e915beb70a4735592",  
"root":"bceb3913f6d793e915beb70a4735592",  
"virtual":"",  
"real":"/tmp/testfs\_metadata/test.odt"  
},  
"meta":{  
"author":"David Pilato",  
"title":"Mon titre",  
"date":"2013-04-04T15:21:35",  
"keywords":[  
"fs",  
"elasticsearch",  
"river"  
]  
},  
"content":"Bonjour David\n\n\n"  
}  
It also means that you are not forced anymore to store the original source file as a binary BASE64 encoded field but it still available as an option

See documentation at: [https://github.com/dadoonet/fsriver/](https://github.com/dadoonet/fsriver/)

Comments, issues, PR are warmly welcomed! 🙂

Have fun!

--  
David

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52b83f16.98a3148.111%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52b83f16.98a3148.111%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:59am UTC](https://discuss.elastic.co/t/ann-fsriver-0-4-0-breaking-change/14999/2 "2017-07-06T01:59:36Z")

</div>


