# Where is \_source stored?

**URL:** <https://discuss.elastic.co/t/where-is--source-stored/3022>\
**Category:** Elasticsearch\
**Created:** [June 16, 2010, 4:38am UTC](https://discuss.elastic.co/t/where-is--source-stored/3022 "2010-06-16T04:38:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [June 16, 2010, 4:38am UTC](https://discuss.elastic.co/t/where-is--source-stored/3022/1 "2010-06-16T04:38:38Z")

</div>

Hello,

Where is the content of \_source (the original doc in JSON format) in  
the results stored?  
Is it stored verbatim some place along side the index, or is it  
reconstructed from stored field values (which would imply all fields  
need to be stored in underlying Lucene index)?

## Thanks, Otis

Sematext :: [http://sematext.com/](http://sematext.com/) :: Solr - Lucene - Nutch  
Lucene ecosystem search :: [http://search-lucene.com/](http://search-lucene.com/)

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [June 16, 2010, 7:41am UTC](https://discuss.elastic.co/t/where-is--source-stored/3022/2 "2010-06-16T07:41:37Z")

</div>

Hi,

It can be found in the Lucene index.  
If you use Luke 1.0.1, switch to Document tab and pick any document from  
Elasticsearch index, then you can see the original JSON content.  
(Right-click on the \_source row, select "Show Full Text" and change "Show  
content as:" to "String default enc.")

Regards,  
Lukas

On Wed, Jun 16, 2010 at 6:38 AM, Otis [otis.gospodnetic@gmail.com](mailto:otis.gospodnetic@gmail.com) wrote:

> Hello,
> 
> Where is the content of \_source (the original doc in JSON format) in  
> the results stored?  
> Is it stored verbatim some place along side the index, or is it  
> reconstructed from stored field values (which would imply all fields  
> need to be stored in underlying Lucene index)?
> 
> ## Thanks, Otis
> 
> Sematext :: [http://sematext.com/](http://sematext.com/) :: Solr - Lucene - Nutch  
> Lucene ecosystem search :: [http://search-lucene.com/](http://search-lucene.com/)

---

<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, 4:23am UTC](https://discuss.elastic.co/t/where-is--source-stored/3022/3 "2017-07-06T04:23:17Z")

</div>


