# Disappearing "\_source"

**URL:** <https://discuss.elastic.co/t/disappearing--source/5984>\
**Category:** Elasticsearch\
**Created:** [November 27, 2011, 8:09pm UTC](https://discuss.elastic.co/t/disappearing--source/5984 "2011-11-27T20:09:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![terranmoccasin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/terranmoccasin/32/3056_2.png) [@terranmoccasin](https://discuss.elastic.co/u/terranmoccasin)\
**Post date:** [November 27, 2011, 8:09pm UTC](https://discuss.elastic.co/t/disappearing--source/5984/1 "2011-11-27T20:09:14Z")

</div>

Hi,

I am running into a problem where my index just loses the "\_source"  
data.

When I retrieve an entry

curl -XGET '[http://localhost:9200/catnip/songs/31](http://localhost:9200/catnip/songs/31)'

I receive

{"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
4,"exists":true"}

instead of

{"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
4,"exists":true, "\_source" : {"title":null,"artist":null,"url":"http://  
[hulkshare.com/ap-qi3uv4nk07lq.mp3","status":"0](http://hulkshare.com/ap-qi3uv4nk07lq.mp3%22,%22status%22:%220)"}}

The information only returns after I re-index everything.

Is there any reason this could be happening?

---

<div class="post-metadata">

**Author:** ![ruflin\_2](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ruflin\_2](https://discuss.elastic.co/u/ruflin_2)\
**Post date:** [November 27, 2011, 9:23pm UTC](https://discuss.elastic.co/t/disappearing--source/5984/2 "2011-11-27T21:23:30Z")

</div>

This could answer your question:  
[https://groups.google.com/forum/#!searchin/elasticsearch/ruflin/elasticsearch/w9mqeUfp\_hI/bhNL4cunsHoJ](https://groups.google.com/forum/#!searchin/elasticsearch/ruflin/elasticsearch/w9mqeUfp_hI/bhNL4cunsHoJ)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 28, 2011, 8:11am UTC](https://discuss.elastic.co/t/disappearing--source/5984/3 "2011-11-28T08:11:58Z")

</div>

Sounds like a different problem, yours was because you disabled \_source in  
the mappings.

On Sun, Nov 27, 2011 at 11:23 PM, ruflin [ruflin@gmail.com](mailto:ruflin@gmail.com) wrote:

> This could answer your question:
> 
> [Redirecting to Google Groups](https://groups.google.com/forum/#!searchin/elasticsearch/ruflin/elasticsearch/w9mqeUfp_hI/bhNL4cunsHoJ)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 28, 2011, 8:13am UTC](https://discuss.elastic.co/t/disappearing--source/5984/4 "2011-11-28T08:13:01Z")

</div>

Can you recreate it somehow? If its hard to recreate, maybe you can zip and  
dropbox the data location(s) so I can access them (including configs) so I  
can check it. What version are you using?

On Sun, Nov 27, 2011 at 10:09 PM, terranmoccasin  
[terranmoccasin@gmail.com](mailto:terranmoccasin@gmail.com)wrote:

> Hi,
> 
> I am running into a problem where my index just loses the "\_source"  
> data.
> 
> When I retrieve an entry
> 
> curl -XGET '[http://localhost:9200/catnip/songs/31](http://localhost:9200/catnip/songs/31)'
> 
> I receive
> 
> {"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
> 4,"exists":true"}
> 
> instead of
> 
> {"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
> 4,"exists":true, "\_source" : {"title":null,"artist":null,"url":"http://  
> [hulkshare.com/ap-qi3uv4nk07lq.mp3","status":"0](http://hulkshare.com/ap-qi3uv4nk07lq.mp3%22,%22status%22:%220)"}}
> 
> The information only returns after I re-index everything.
> 
> Is there any reason this could be happening?

---

<div class="post-metadata">

**Author:** ![terranmoccasin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/terranmoccasin/32/3056_2.png) [@terranmoccasin](https://discuss.elastic.co/u/terranmoccasin)\
**Post date:** [December 1, 2011, 8:52pm UTC](https://discuss.elastic.co/t/disappearing--source/5984/5 "2011-12-01T20:52:44Z")

</div>

Hi guys,

Sorry for the late response. I have not been able to work on my  
personal project as of late due to work. I am using 0.18.4. It seems  
like the link Ruflin provided has worked, but I have not done any  
thorough testing to try and recreate the error. I will provide an  
update when I get a chance!

@Shay  
I used Compass in the past, and now Elasticsearch! Thank you for your  
work, it is very inspiring and exciting!

On Nov 28, 3:13 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Can you recreate it somehow? If its hard to recreate, maybe you can zip and  
> dropbox the data location(s) so I can access them (including configs) so I  
> can check it. What version are you using?
> 
> On Sun, Nov 27, 2011 at 10:09 PM, terranmoccasin  
> [terranmocca...@gmail.com](mailto:terranmocca...@gmail.com)wrote:
> 
> > Hi,
> 
> > I am running into a problem where my index just loses the "\_source"  
> > data.
> 
> > When I retrieve an entry
> 
> > curl -XGET '[http://localhost:9200/catnip/songs/31](http://localhost:9200/catnip/songs/31)'
> 
> > I receive
> 
> > {"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
> > 4,"exists":true"}
> 
> > instead of
> 
> > {"\_index":"catnip","\_type":"songs","\_id":"31","\_version":  
> > 4,"exists":true, "\_source" : {"title":null,"artist":null,"url":"http://  
> > [hulkshare.com/ap-qi3uv4nk07lq.mp3","status":"0](http://hulkshare.com/ap-qi3uv4nk07lq.mp3%22,%22status%22:%220)"}}
> 
> > The information only returns after I re-index everything.
> 
> > Is there any reason this could be happening?

---

<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, 3:46am UTC](https://discuss.elastic.co/t/disappearing--source/5984/6 "2017-07-06T03:46:40Z")

</div>


