mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #11245] [MERGED] fix: ElasticSearch indexes delete and upsert bugs(Post 0.5.19 release) #110008
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11245
Author: @tupe2009
Created: 3/5/2025
Status: ✅ Merged
Merged: 3/5/2025
Merged by: @tjbck
Base:
dev← Head:kleqon.fix-es-bugs📝 Commits (1)
a8f2052fixed es bugs📊 Changes
2 files changed (+135 additions, -93 deletions)
View changed files
📝
backend/open_webui/config.py(+1 -1)📝
backend/open_webui/retrieval/vector/dbs/elasticsearch.py(+134 -92)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
basic Elasticsearch support missed correct index and collections handling in terms of delete, upsert and delete collection. this PR fixes that.
elasticsearch before that PR is basically unusable in the long run since updating, deleting or upserting documents or entire collection is not working.
Updated to new dev after 0.5.19 release
Fixed
Fixed Elasticsearch retrieve module to support collection deletion and document upsert correctly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.