Disappearing "_source"

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'

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"}}

The information only returns after I re-index everything.

Is there any reason this could be happening?

This could answer your question:
https://groups.google.com/forum/#!searchin/elasticsearch/ruflin/elasticsearch/w9mqeUfp_hI/bhNL4cunsHoJ

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 wrote:

This could answer your question:

Redirecting to Google Groups

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.comwrote:

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'

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"}}

The information only returns after I re-index everything.

Is there any reason this could be happening?

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 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.comwrote:

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'

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"}}

The information only returns after I re-index everything.

Is there any reason this could be happening?