The only thing I'm using not_analyzed for is Strings anyway, so no problem there.
As for the JSON - I'm using an API for it that is supposed to work like I've used it, I think. The comments say to pass in a map of the form key:var=value,var=value..., which is what I'm doing.
Is it possible that that code doesn't generate valid JSON?
- Tim