# Good detailed mapper attachments example

**URL:** <https://discuss.elastic.co/t/good-detailed-mapper-attachments-example/66258>\
**Category:** Elasticsearch\
**Created:** [November 16, 2016, 2:16pm UTC](https://discuss.elastic.co/t/good-detailed-mapper-attachments-example/66258 "2016-11-16T14:16:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sharon](https://discuss.elastic.co/u/sharon)\
**Post date:** [November 16, 2016, 2:16pm UTC](https://discuss.elastic.co/t/good-detailed-mapper-attachments-example/66258/1 "2016-11-16T14:16:33Z")

</div>

Hi!  
I'm totally new in elastic and want to index a pdf files.  
I already installed elastic and other stuff including mapper-attachments plugin.  
how can I index a SqlServerDB or just a pdf file?  
i have to do it one by one or it can be indexed all of them by loop  
Thank's!

---

<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:** [November 16, 2016, 3:02pm UTC](https://discuss.elastic.co/t/good-detailed-mapper-attachments-example/66258/2 "2016-11-16T15:02:48Z")

</div>

You have to send one document by one.  
But they can be added in a Bulk request (which is a batch of individual requests).

See also [https://github.com/dadoonet/fscrawler](https://github.com/dadoonet/fscrawler)

---

<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:** [December 14, 2016, 3:02pm UTC](https://discuss.elastic.co/t/good-detailed-mapper-attachments-example/66258/3 "2016-12-14T15:02:52Z")

</div>

Closed on December 14, 2016, 3:02pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
