bloodhound icon indicating copy to clipboard operation
bloodhound copied to clipboard

BulkIndex claims to upsert but doesn't

Open unthingable opened this issue 11 years ago • 0 comments

src/Database/Bloodhound/Types.hs:

{-| 'BulkOperation' is a sum type for expressing the four kinds of bulk
    operation index, create, delete, and update. 'BulkIndex' behaves like an
    "upsert", 'BulkCreate' will fail if a document already exists at the DocId.

Nope, BulkIndex behaves like an "index".

unthingable avatar Jan 05 '15 04:01 unthingable