Closed vtr-rivia closed 3 years ago
Hello! This is not related to the client, if the Dev Tools are behaving differently it's very likely that you are sending two different documents.
I would recommend to read this guide to understand how to handle this case and also how to handle the mappings.
Hello! This document that I've pasted as an example I got from my application logs before call index function Then I copied and paste the exactly same document on dev tools and it works
🐛 Bug Report
I've tried to insert a document on index using elastic NodeJS library but when I'm trying to index some documents it throws me an error:
To Reproduce
Calling index api like that
Using this object
Here is my index settings
When I use the DevTools on Elastic Cloud it works as expected
Expected behavior
Index document working
Your Environment
@elastic/elasticsearch
version: >=7.13.0