mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-04 07:47:12 -05:00
[GH-ISSUE #15274] Qdrant Error – Index required for metadata.hash in Open-WebUI #104513
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mkagit on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15274
Originally posted by @tjbck in #14960
Description
When uploading a PDF document via Open-WebUI with Qdrant as the vector store (in multitenancy mode), I encounter a 400 Bad Request error during the document saving process. The issue stems from Qdrant requiring an index on the payload field
metadata.hash, which is missing by default.Error Message
This causes the entire document processing workflow to fail with:
Logs (excerpt)
Expected Behavior
The document should be successfully parsed, indexed, and stored in Qdrant without manual schema intervention.
Steps to Reproduce
@guenhter commented on GitHub (Jun 26, 2025):
I get a similar error:
But this only happens with the qdrant.io instane. If I spinup qdrant locally, I don't have any issue...
@mkagit commented on GitHub (Jun 26, 2025):
In our tests, local and cloud Qdrant performance are almost the same,
however it's slower than local pgvector. I think because OpenWebUI isn't
optimized for Qdrant. I was hopping for qdrant_multitenancy to deliver
better performance
Em quinta-feira, 26 de junho de 2025, Günther Grill <
@.***> escreveu:
@guenhter commented on GitHub (Jun 26, 2025):
The problem of the original issue (and probably of this as well) can be reproduces with this enviornment variables (in docker) turned on
Those are good defaults (also turned on when the qdrant.io cluster is used) because they avoid to access the DB with inperformant queries.
@guenhter commented on GitHub (Jun 27, 2025):
IMO the best solution would be, to respect what qdrant.io is doing, and create the corresponding indices.
I'll prepare a PR next week for this.
Currently, there is a big refactoring ongoing with https://github.com/open-webui/open-webui/pull/15289 which should be coordinated with.
@Anush008 commented on GitHub (Jul 10, 2025):
This is resolved with https://github.com/open-webui/open-webui/pull/15389.