elastic / stream2es

Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)
355 stars 60 forks source link

stdin import #39

Closed mdi closed 8 years ago

mdi commented 10 years ago

If I use the es streamer to import data directly from another ES cluster, everything works fine, and document IDs are kept the same as from the original source. But if I try to import using the stdin streamer, and the JSON file has document IDs, the import fails with errors like:

MapperParsingException[failed to parse [_id]]; nested: MapperParsingException[Provided id [AUmQO1aas8DAEaQxci0-] does not match the content one [Zwof6Y]]