elastic / app-search-firestore-extension

An extension that syncs data from Google's [Cloud Firestore](https://firebase.google.com/products/firestore) to [Elastic App Search](https://www.elastic.co/app-search/).
Apache License 2.0
18 stars 14 forks source link

Handle errors in import script #19

Closed JasonStoltz closed 3 years ago

JasonStoltz commented 3 years ago

When using the /documents endpoint in import.js, we do not handle errors, which are inlined in the JSON response.

[
  {
    "id": "park_death-valley",
    "errors": []
  }
]
JasonStoltz commented 3 years ago

https://github.com/elastic/app-search-firestore-extension/issues/19