marinac-dev / qdrant

Elixir client for Qdrant vector search engine
MIT License
20 stars 7 forks source link

Qdrant API uses POST method to delete points #7

Closed yusefmosiah closed 1 year ago

yusefmosiah commented 1 year ago

changed delete_points method to post and @type delete_body from [int | string] to %{points: [int | string]}

Closes #8

marinac-dev commented 1 year ago

Hey @yusefmosiah, One more thing I missed is, delete body can also be a filter as per docs.

Typespec should look something like this

@type delete_body :: %{points: list(integer() | String.t())} | [%{filter: filter_type()}](filter: %{must: filter_type(), should: filter_type(), must_not: filter_type()})