hkulekci / qdrant-php

Qdrant is a vector similarity engine & vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!
MIT License
93 stars 21 forks source link

indexingThreshold #48

Closed lukaszknasiecki closed 8 months ago

lukaszknasiecki commented 8 months ago

indexingThreshold value may be set to 0 (as per QDrant docs), but then it's ignored and skipped in the request

OptimizersConfig.php simple fix:

if ($this->indexingThreshold || $this->indexingThreshold===0) { $data['indexing_threshold'] = $this->indexingThreshold; }

hkulekci commented 8 months ago

Fix merged!. Feel free to reach out after your test.