# Mapper attachment with indexing a full document

**URL:** <https://discuss.elastic.co/t/mapper-attachment-with-indexing-a-full-document/22538>\
**Category:** Elasticsearch\
**Created:** [March 5, 2015, 8:49pm UTC](https://discuss.elastic.co/t/mapper-attachment-with-indexing-a-full-document/22538 "2015-03-05T20:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austin\_Harmon](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Austin\_Harmon](https://discuss.elastic.co/u/Austin_Harmon)\
**Post date:** [March 5, 2015, 8:49pm UTC](https://discuss.elastic.co/t/mapper-attachment-with-indexing-a-full-document/22538/1 "2015-03-05T20:49:08Z")

</div>

Hello,

So I am looking to use elastic search for full text and search. I want to  
have a html page where users can search for something and get the actual  
document not just the json that comes up. I haven't done my front end yet  
but I'm just not sure how its possible to bring up the whole file if all I  
have is json in elastic search. I implemented the mapper-attachment plugin  
but after putting the mapping it didn't automatically do anything. Do I  
have to input data into the json, shouldn't it get the data by its self?

Thanks,  
Austin

--  
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/c93388e3-6fae-49f0-9bbe-9c1f4b3974f9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c93388e3-6fae-49f0-9bbe-9c1f4b3974f9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:28am UTC](https://discuss.elastic.co/t/mapper-attachment-with-indexing-a-full-document/22538/2 "2017-07-06T00:28:17Z")

</div>

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


