Skip to content

Conversation

@abhizer
Copy link
Contributor

@abhizer abhizer commented Apr 16, 2022

Fix to issue #183

Pull Request

What does this PR do?

Fixes #183
#183
It adds two methods, Index::add_documents_in_batches and Index::update_documents_in_batches
Takes inspiration from the python version of the implementation.

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Copy link
Contributor

@irevoire irevoire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, the PR looks pretty good to me but I don't really have the time to review it rn.
I will probably review it on Monday or thuesday.

Thanks for your contribution! 👍

@irevoire
Copy link
Contributor

Also don't bother with the clippy checks, I think we're going to merge #261 before this PR thus you will only need to rebase on main 😁

bors bot added a commit that referenced this pull request Apr 22, 2022
267: fixed formatting with clippy and removed Document trait r=brunoocasali a=irevoire

# Pull Request
Since `@honne23` doesn't seem available currently, and we have #262, #263, and #264 waiting for this PR to be merged, I took back on it.

But thanks a lot, `@honne23;` you wrote most of the code, and I just applied the few left comments.
Thanks for contributing!

## What does this PR do?
Fixes #255 
Closes #261

<!-- Please link the issue you're trying to fix with this PR, if none then please create an issue first. -->

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Co-authored-by: Adrian Coutsoftides <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
bors bot added a commit that referenced this pull request Apr 22, 2022
267: fixed formatting with clippy and removed Document trait r=brunoocasali a=irevoire

# Pull Request
Since `@honne23` doesn't seem available currently, and we have #262, #263, and #264 waiting for this PR to be merged, I took back on it.

But thanks a lot, `@honne23;` you wrote most of the code, and I just applied the few left comments.
Thanks for contributing!

## What does this PR do?
Fixes #255 
Closes #261

<!-- Please link the issue you're trying to fix with this PR, if none then please create an issue first. -->

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Co-authored-by: Adrian Coutsoftides <[email protected]>
Co-authored-by: Bruno Casali <[email protected]>
Copy link
Contributor

@irevoire irevoire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution

@bidoubiwa bidoubiwa added the enhancement New feature or request label Apr 25, 2022
@brunoocasali
Copy link
Member

bors merge

@bors
Copy link
Contributor

bors bot commented Apr 25, 2022

Build succeeded:

@bors bors bot merged commit 08cac64 into meilisearch:main Apr 25, 2022
@abhizer abhizer deleted the add_in_batches branch April 25, 2022 17:27
bors bot added a commit that referenced this pull request Apr 25, 2022
272: Update version for the next release (v0.16.0) r=brunoocasali a=brunoocasali

### Release notes:

## ⚠️ Breaking changes

* Use an `OffsetDateTime` on the `ClientStats` (#244) `@irevoire`
* Fixed formatting with clippy & Removed `Document` trait (#267) `@irevoire`

## 🚀 Enhancements

* Add methods to automatically add/update documents in batches (#262) `@abhizer`
* Feature/Tenant Token (#263, #264) `@brunoocasali`

## Misc

* Create an example showing how to update the Settings (#245) `@irevoire`

Thanks again to `@abhizer,` `@bidoubiwa,`  `@brunoocasali,` `@irevoire,`  and Adrian Coutsoftides! 🎉


Co-authored-by: Bruno Casali <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add methods to automatically add/update documents in batches

4 participants