[PR #2520] [CLOSED] Add Elasticsearch as a Vector Database Option, Issue 2309 #4023

Closed
opened 2026-02-22 18:34:59 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2520
Author: @Siyubu
Created: 10/22/2024
Status: Closed

Base: masterHead: elasticsearch


📝 Commits (8)

  • 69562fb Elastic search added
  • e946d4d elastic search handled
  • e8c5c5a elastic search package
  • f507ea7 Elasticsearch README
  • 10ea7c6 added elastic search on main readme
  • 9aa9d65 Merge branch 'master' into elasticsearch
  • 14099f9 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into pr-2520-branch
  • 5d788fa linting

📊 Changes

5 files changed (+407 additions, -2 deletions)

View changed files

📝 README.md (+1 -0)
📝 server/package.json (+3 -2)
📝 server/utils/helpers/index.js (+4 -0)
server/utils/vectorDbProviders/elasticsearch/ELASTICSEARCH_SETUP.md (+14 -0)
server/utils/vectorDbProviders/elasticsearch/index.js (+385 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2309

What is in this change?

  • Added Elasticsearch as a vector database option in the configuration settings.
  • Created an elasticsearch in vectorDbProvider to handle the interaction between anythingLLM and Elasticsearch,
  • Modified the documentation to include Elasticsearch setup, configuration, and usage details.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2520 **Author:** [@Siyubu](https://github.com/Siyubu) **Created:** 10/22/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `elasticsearch` --- ### 📝 Commits (8) - [`69562fb`](https://github.com/Mintplex-Labs/anything-llm/commit/69562fb7103beae6efae67d7e56123925693513c) Elastic search added - [`e946d4d`](https://github.com/Mintplex-Labs/anything-llm/commit/e946d4dcf7b37477c1addab174795c424e686b90) elastic search handled - [`e8c5c5a`](https://github.com/Mintplex-Labs/anything-llm/commit/e8c5c5a5186de1cc9184a7d4e24dad7a668ab85f) elastic search package - [`f507ea7`](https://github.com/Mintplex-Labs/anything-llm/commit/f507ea7c4a44fb8cfcab9c381e275d22c443549a) Elasticsearch README - [`10ea7c6`](https://github.com/Mintplex-Labs/anything-llm/commit/10ea7c61918cae29e345644d1abe3c04f67f57aa) added elastic search on main readme - [`9aa9d65`](https://github.com/Mintplex-Labs/anything-llm/commit/9aa9d65b82c6e4a308097e82d43f44fc30697dd1) Merge branch 'master' into elasticsearch - [`14099f9`](https://github.com/Mintplex-Labs/anything-llm/commit/14099f983719e56dcddfe64ae735b91578280325) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into pr-2520-branch - [`5d788fa`](https://github.com/Mintplex-Labs/anything-llm/commit/5d788fa767ee7599ce273472d92a5f3bfe032707) linting ### 📊 Changes **5 files changed** (+407 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `server/package.json` (+3 -2) 📝 `server/utils/helpers/index.js` (+4 -0) ➕ `server/utils/vectorDbProviders/elasticsearch/ELASTICSEARCH_SETUP.md` (+14 -0) ➕ `server/utils/vectorDbProviders/elasticsearch/index.js` (+385 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2309 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Added Elasticsearch as a vector database option in the configuration settings. - Created an elasticsearch in vectorDbProvider to handle the interaction between anythingLLM and Elasticsearch, - Modified the documentation to include Elasticsearch setup, configuration, and usage details. ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:59 -05:00
yindo closed this issue 2026-02-22 18:34:59 -05:00
yindo changed title from [PR #2520] Add Elasticsearch as a Vector Database Option, Issue 2309 to [PR #2520] [CLOSED] Add Elasticsearch as a Vector Database Option, Issue 2309 2026-06-05 15:16:25 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4023