v0.22.1 🌻
Changes
- Add methods to automatically add/update documents in batches (#1039) @vishnugt
 - Add an API to get raw index data (#1051) @artfuldev
 
Document in Batches
This method will let you add documents in batches of 1000 documents instead of all at once.
await client
      .index("myIndex")
      .addDocumentsInBatches(dataset, 1000)This method will let you update documents in batches of 1000 documents instead of all at once.
await client
      .index("myIndex")
      .updateDocumentsInBatches(dataset, 1000)Raw index data
Instead of having an instance of Index returned, you receive the raw json returned by MeiliSearch.
await client
          .index("myIndex")
          .getRawInfo()Thanks again to @K-Kumar-01, @SandunWebDev, @artfuldev, @bidoubiwa, @curquiza, @daniloff200, and @vishnugt! 🎉