Fixed
Project:
Qdrant VDB Provider
Version:
1.3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2026 at 12:42 UTC
Updated:
25 Jul 2026 at 13:26 UTC
Jump to comment: Most recent
Ran into "Unable to decode output into JSON: Syntax error" when deleting items from the Qdrant index.
So.. Search api passes item IDs as an associative array. This happens in `Index::indexSpecificItems` where `$rejected_ids` is initialized with `array_combine($ids, $ids)`:
$rejected_ids = array_combine($rejected_ids, $rejected_ids); // ['id1' => 'id1']
When this reaches the getVdbIds in QdrantProvider, it is fed as is to the query filters. Then the provider makes a request to Qdrant, but in the middle guzzle uses json encode which leads to the old as time issue of having '{}' instead of '[]' which Qdrant's "any" matcher requires.
..biribiri...
"match": { "any": { "entity:node/9946:en": "entity:node/9946:en" } } // Breaks Qdrant's matcher
..biribiri...
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
marios anagnostopoulos commentedComment #4
marios anagnostopoulos commentedComment #5
stmh commented