On Wed, 2010-10-27 at 10:05 +0200, Albin Stigo wrote:
Ok!
I'm using node.js which as you know is running on V8 and
JSON.parse(str) actually returns an error (on some hits) when trying
to parse back to JSON. But of course I managed to put it into ES using
JSON in the first place, using a python script with the json package
and that escaped everything fine.
Request the doc that is throwing the error in node.js using curl from
the command line. Have a look at what is in the _source field - try to
decode it from JSON using python and node.js
It's more likely that there was a bug putting the _source INTO ES, than
the other way around
clint