# Ingesting documents (pdf, word, .txt) to elasticsearch

**URL:** <https://discuss.elastic.co/t/ingesting-documents-pdf-word-txt-to-elasticsearch/75128>\
**Category:** Elasticsearch\
**Created:** [February 15, 2017, 3:17am UTC](https://discuss.elastic.co/t/ingesting-documents-pdf-word-txt-to-elasticsearch/75128 "2017-02-15T03:17:12Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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:** [February 17, 2017, 8:35am UTC](https://discuss.elastic.co/t/ingesting-documents-pdf-word-txt-to-elasticsearch/75128/17 "2017-02-17T08:35:32Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I updated your answers.

The problem here is

```auto
creation date: 2017-02-16T11:08:43
file date : 2017-02-16T11:08:43
last scan date: 2017-02-17T16:08:45.365

```

So your FS does not change the file modification date when you move it to the folder.  
The only way I believe to fix it is to do:

```auto
touch /mapr/my.cluster.com/vm1/bago5.pdf

```

So it will get a more recent date.

---

_[View the full topic](https://discuss.elastic.co/t/ingesting-documents-pdf-word-txt-to-elasticsearch/75128)._
