bitemyapp / bloodhound

Haskell Elasticsearch client and query DSL
bitemyapp.com
BSD 3-Clause "New" or "Revised" License
422 stars 118 forks source link

Add 'BulkUpsert' operation (now with tests) #264

Closed joshgodsiff closed 4 years ago

joshgodsiff commented 4 years ago

Supercedes #250

This adds an extra Bulk operation, with upsert semantics and the ability to pass some extra metadata that isn't possible with the existing API.

We've also added some tests for it, so hopefully it should be maintainable :)

bitemyapp commented 4 years ago

@Kheldar add yourself to the changelog please: https://github.com/bitemyapp/bloodhound/blob/master/changelog.md#01700

0.17.0.0 is unreleased at the moment.

bitemyapp commented 4 years ago

This is looking good, just need the changelog and we're good to go. Thank you @Kheldar!

joshgodsiff commented 4 years ago

Changelog line added. I also reverted the whitespace changes - I suspect one of us had rule enabled that did that automatically.

bitemyapp commented 4 years ago

@Kheldar thank you very much!