typesense-php
typesense-php copied to clipboard
Add schema cloning to the client
Description
To help support a workflow that uses aliased collections, it would be great to be able to clone a schema when creating a new collection as referenced in the typesense API docs.
This would enable a more simplistic workflow that clones an existing schema before uploading documents to it and updating the alias to point to the new collection.
When this issue was raised on the community-help slack channel, Jason Bosco added the following:
Looks like we don't support it yet in the PHP client. We'd need to accept GET parameters here and then pass it down to the POST API call, to support collection cloning