ElasticSearch + Couchbase +SyncGateway got InvalidTypeNameException mapping type name "_sync can't start with _"

As I report here:


and I try to fixed it by modify the code:
src/main/java/org/elasticsearch/transport/couchbase/capi/ElasticSearchCAPIBehavior.java
It works to me,but haven’t test enough.

I think @davido will be able to help!