Problem with ottoman model and elastic search with _id field

connections

#1

Ottoman model is auto inserting _id field in all the schema if i am not defining it still and I am using it everywhere in my app but now i have implemented elasticsearch and using transporter plugin but now I am having problem in elastic search as ES gives error for _id is a duplicate field as ES is using _id field for internal use.
And i can not define id field too in ottoman

{
  "error": {
    "root_cause": [
      {
        "type": "mapper_parsing_exception",
        "reason": "Field [_id] is a metadata field and cannot be added inside a document. Use the index API request parameters."
      }
    ],
    "type": "mapper_parsing_exception",
    "reason": "Field [_id] is a metadata field and cannot be added inside a document. Use the index API request parameters."
  },
  "status": 400
}

So is there anyway with ottoman? I want to remove default _id field.
Sorry for bad explanation and thanks in advance


#2

@brett19
is there any way with ottoman?