mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #11176] [CLOSED] fix: Elasticsearch as a vector store bugs fixes. #38305
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/11176
Author: @tupe2009
Created: 3/4/2025
Status: ❌ Closed
Base:
dev← Head:kleqon.feat-add-elasticsearch-support📝 Commits (1)
cd7cb35fixed bugs + finished TODOS📊 Changes
2 files changed (+65 additions, -32 deletions)
View changed files
📝
backend/open_webui/config.py(+1 -1)📝
backend/open_webui/retrieval/vector/dbs/elasticsearch.py(+64 -31)📄 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.
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.