Did you disable _source?

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 3 mars 2014 à 14:44:58, Tom Pryor (tomwpr...@gmail.com) a écrit:

Hi,

Having a strange issue when trying to get a document by id, i.e GET to 
http://localhost:9200/index/type/<id>

Sometimes Elasticsearch returns a HTTP 200 but a totally empty response. The 
other strange thing is that the content-type of the response is text/plain; 
charset=UTF-8 rather than the expected JSON.

This is causing major problems because when it occurs when I'm trying to update 
a document my client library thinks there is no data for the document and just 
indexes the document with purely the updated data, causing data loss.

Anyone got any ideas?

Thanks.
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/98d31ba6-c7fb-4151-ac6f-1f273338aa5b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.53148b77.1190cde7.50c7%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to