You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Mongo DB in Laravel. When i try to index model i get this error
Field [_id] is a metadata field and cannot be added inside a document. Use the index API request parameters.
primary key is _id in mongo by default and elasticquent is not allowing that. How can i overcome this issue. I can not change my model schema. Please suggest.
The text was updated successfully, but these errors were encountered:
I am using Mongo DB in Laravel. When i try to index model i get this error
Field [_id] is a metadata field and cannot be added inside a document. Use the index API request parameters.
primary key is _id in mongo by default and elasticquent is not allowing that. How can i overcome this issue. I can not change my model schema. Please suggest.
The text was updated successfully, but these errors were encountered: