Validating Mapping

Hi all,

I've been trying to clean out the corner cases out of my code in
elasticsearch, but I'm having a problem with mappings. Is there a function
within the API which checks if a given Json is a valid mapping without
calling the REST client?

I find that I get UncategorizedExecutionExceptions when I put certain
invalid mappings like
{
"properties": "string"
}

I'd like to avoid catching this exception class if possible so that
debugging is easier since the exception fairly general. I was thinking a
mapping validator would solve the problem, but I'm definitely fine with
implementing other solutions if they are available.

Any help would be appreciated.

Thanks,
Timothy

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b2d4499e-d792-4358-96fe-ae13ceff4f35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.