Where did you see that you can use a source parameter?

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


Le 27 janv. 2014 à 00:17, Nikita Tovstoles <nikita.tovsto...@gmail.com> a écrit 
:

...trying to get docs by ids. works if I POST with body:

curl -XPOST http://localhost:9200/admin/brands/_mget -d '{"ids": ["555"]}'

...but can't get when I move the above body to 'source' query param. is 
'source' query param supported for bulk ops?

curl -XGET 
http://localhost:9200/admin/brands/_mget?source=%7B%22ids%22%3A%20%5B%22555%22%5D%7D

{"error":"Failed to derive xcontent from 
org.elasticsearch.common.bytes.BytesArray@0"}

thank you,

-nikita

-- 
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/b67d9951-c50d-4ca2-8b1b-36f2c455a0fb%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/BBBB34D9-151E-4A18-BD1C-DAC2F3F49AA0%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to