# Index meta data stored in seperate files

**URL:** <https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279>\
**Category:** Elasticsearch\
**Created:** [January 14, 2016, 9:52pm UTC](https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279 "2016-01-14T21:52:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![snkevin](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@snkevin](https://discuss.elastic.co/u/snkevin)\
**Post date:** [January 14, 2016, 9:52pm UTC](https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279/1 "2016-01-14T21:52:38Z")

</div>

I'm wondering if elastic is capable of this, I'm using the attachment-mapper plugin and the river web crawler to index PDF files and webpages. I'd like to have a metadata file accompany each PDF and webpage with meta data like "title", "keywords", "software version", and "user access level".

**Example**

```
Folder
|__ MyPdf.pdf
|__ meta_MyPdf.json

```

Elastic indexed MyPdf.pdf and populates the Elastic index fields, with data from meta\_MyPdf.json

Any advice on how to tackle this issue? I'm using Elastic 1.5 with mapper-attachments 2.5

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 14, 2016, 9:55pm UTC](https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279/2 "2016-01-14T21:55:31Z")

</div>

Elasticsearch can do whatever you want, you just need to tell it.  
So you need to tell the attachment plugin to do this, I'm not sure if you can though, so that isn't probably all that helpful.

> [@snkevin](#):
>
> river web crawler

Rivers are removed in 2.X, you should look for something else.

---

<div class="post-metadata">

**Author:** ![snkevin](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@snkevin](https://discuss.elastic.co/u/snkevin)\
**Post date:** [January 14, 2016, 9:58pm UTC](https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279/3 "2016-01-14T21:58:28Z")

</div>

I just updated my posted, I should have mentioned I'm using Elastic 1.5 with mapper-attachments 2.5

---

<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 5, 2017, 11:24pm UTC](https://discuss.elastic.co/t/index-meta-data-stored-in-seperate-files/39279/4 "2017-07-05T23:24:18Z")

</div>


