open-webui/backend/open_webui
Classic298 aee7c47277
feat: Milvus hybrid search without a second text-only copy of every collection (#31660)
Native hybrid search on Milvus kept a second, text-only collection beside every Milvus collection and searched both. Each Milvus collection now holds its vectors, its text and its BM25 keyword index together, and results rank exactly as before, with the BM25 weight setting working the same way it does on pgvector. Existing data moves on the first start with ENABLE_DB_MIGRATIONS on: startup waits while every collection is copied once (vectors included, nothing is re-embedded) and the originals are only dropped after every copy succeeded, so a failed run changes nothing and is retried on the next start. The copy needs free disk space for a second copy of the data until it finishes, and on one 16-thread machine with Milvus's official docker compose setup it ran at 11 to 22 MB/s, so 200 GB takes about 2.5 to 5 hours depending on chunk size. Milvus servers older than 2.5 are detected and keep the existing hybrid search.
2026-10-01 03:07:50 +04:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal fix: non-English text is missed by searches and counted six times against size limits (#31615) 2026-09-30 19:19:29 +04:00
migrations chore: format 2026-08-25 16:53:53 -04:00
models fix: shared chats can't open new files attached together with a file already in the chat (#31650) 2026-09-30 21:03:32 +04:00
retrieval feat: Milvus hybrid search without a second text-only copy of every collection (#31660) 2026-10-01 03:07:50 +04:00
routers fix: send max_completion_tokens for Bedrock-prefixed OpenAI models (#30976) 2026-09-30 20:09:06 +04:00
socket refac: apply the Notes permission to live note editing (#31552) 2026-09-30 19:19:53 +04:00
static refac 2026-09-06 17:27:30 -04:00
storage fix: read S3 files with long non-ASCII names (#30418) 2026-09-23 23:30:55 -04:00
tools refac: calendar event tools use the calendar's access check (#31537) 2026-09-30 19:29:19 +04:00
utils fix: artifact preview closes right after opening when a filter writes the reply (#31652) 2026-09-30 21:02:27 +04:00
__init__.py refactor: use secrets module for generated secret key (#30441) 2026-09-23 23:36:26 -04:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py feat: add a Tavily search depth setting (#31308) 2026-09-27 23:15:09 +04:00
constants.py fix: SSO login failures show the email/password error (#31629) 2026-09-30 19:07:49 +04:00
env.py perf: use the faster JSON encoder by default (#31616) 2026-09-30 19:42:53 +04:00
events.py refac 2026-08-16 23:21:00 -07:00
functions.py fix: honor bypass_system_prompt on the pipe route (#28739) 2026-08-19 11:08:02 -07:00
main.py fix: ejecting a model ignores AIOHTTP_CLIENT_SESSION_SSL (#31391) 2026-09-30 19:49:59 +04:00
tasks.py refac 2026-09-21 08:59:39 -04:00