RediSearch / redisearch-go

Go client for RediSearch
https://redisearch.io
BSD 3-Clause "New" or "Revised" License
298 stars 66 forks source link

Client.Delete() behaves opposite to spec for v1.4 and v1.6 #82

Closed filipecosta90 closed 4 years ago

filipecosta90 commented 4 years ago

Following @TropicalPenguin report. As of current master Client.Delete() is deleting the underlying actual document when we set deleteDocument to false, and retaining the document when we set deleteDocument to true. See https://github.com/RediSearch/redisearch-go/blob/master/redisearch/client.go#L371