typesense-php
typesense-php copied to clipboard
PHP client for Typesense: https://github.com/typesense/typesense
## Description If have something like: ```php $query = 'tags = ' . $filter; ``` The filter need to be escaped. Normally I would expect something like: ```php $query =...
## Description I am trying to implement an update-by-query operation similar to the [official docs](https://typesense.org/docs/0.25.0/api/documents.html#update-by-query). But I get an error saying: `For update, the id key must be provided.` ##...
## Description PHP Fatal error: Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /Users/len/Sites/dev.bookdiscovery.mamp/wp-content/composer/vendor/monolog/monolog/src/Monolog/Logger.php on line 681 ## Steps...
## Change Summary ```php // Changes from $client->presets->get(); $client->presets->delete('presetName'); $client->presets->put([ 'preset_name' => 'name', 'preset_data' => [ 'value' => [ 'query_by' => "*", ], ]; // To $client->presets->retrieve(); $client->presets['presetName']->delete(); $client->presets->upsert('presetName', [...
## Change Summary - When server response is invalid json, attempt to respond with proper error code and raw message. ## PR Checklist - [x] I have read and signed...
## Change Summary Basic implementation for the schema changes endpoint, where you'd check a collection schema update's status: https://typesense.org/docs/29.0/api/collections.html#get-schema-change-status From a skim of the repo I hadn't found a similar...
Hi guys, Can you please add support for the new APIs in Typesense v30 such as curation_sets. Thanks!
Hi everyone, I'm having a strange problem with the library, maybe I'm using it wrong. When i try this : `$ruleExists = $client->analytics->rules()->offsetExists($ruleCollectionName);` It return false, $analyticsRules is empty But...
Getting Error: **PHP Parse error: syntax error, unexpected '|', expecting ';' or '{' in vendor\typesense\typesense-php\src\Lib\Configuration.php on line 228** PHP: **7.4.33** Typesense Library Version: **v5.1.0**
When making a request to a node that is not available the `ApiCall::makeRequest` function will call `sleep()` regardless of the `num_retries` config setting, resulting in an unnecessary delay when the...