Repository navigation
Feat: OpenSearch's support for newly embedding models - #10494
Merged
Merged
Conversation
4 tasks done
yngvarhuang
pushed a commit
to yngvarhuang/ragflow
that referenced
this pull request
Oct 13, 2025
* main: (36 commits) Feat: Merge title splitter and token splitter into chunker category infiniflow#9869 (infiniflow#10517) Fix: Optimized the login page and fixed some known issues. infiniflow#9869 (infiniflow#10514) Fix: The Context Generator(Transformer) node can only be followed by a Tokenizer(Indexer) and a Context Generator(Transformer). infiniflow#9869 (infiniflow#10515) Fix: Update lm studio models support, refer to infiniflow#8116 (infiniflow#10509) Feat: add trino support (infiniflow#10512) Fix: maintain backward compatibility for KB tasks (infiniflow#10508) fix: decode before format to json (infiniflow#10506) Feat: Modify the background color of the canvas infiniflow#9869 (infiniflow#10507) Fix: Mcp reset error, infiniflow#10497 (infiniflow#10498) Feat: OpenSearch's support for newly embedding models (infiniflow#10494) Fix: remove lang for autio. (infiniflow#10496) Fix: incorrect agent template infiniflow#10393 (infiniflow#10491) Feat: add support for multi-column PDF parsing (infiniflow#10475) Fix: Added table of contents extraction functionality and optimized form item layout infiniflow#9869 (infiniflow#10492) Feat: Modify the default style of the agent node anchor infiniflow#9869 (infiniflow#10489) Feat: debugging toc part. (infiniflow#10486) Feat: include author, journal name, volume, issue, page, and DOI in PubMed search results (infiniflow#10481) feat(login): Refactor the login page and add dynamic background and highlight effects infiniflow#9869 (infiniflow#10482) Fix: Fixed the issue where the connection lines of placeholder nodes in the agent canvas could not be displayed infiniflow#9869 (infiniflow#10485) Fix: Disable reasoning on Gemini 2.5 Flash by default (infiniflow#10477) ...
clifftseng
pushed a commit
to clifftseng/ragflow
that referenced
this pull request
Feb 9, 2026
…#10494) ### What problem does this PR solve? fix issues:infiniflow#10402 As the newly distributed embedding models support vector dimensions max to 4096, while current OpenSearch's max dimension support is 1536. As I tested, the 4096-dimensions vector will be treated as a float type which is unacceptable in OpenSearch. Besides, OpenSearch supports max to 16000 dimensions by defalut with the vector engine(Faiss). According to: https://docs.opensearch.org/2.19/field-types/supported-field-types/knn-methods-engines/ I added max to 10240 dimensions support for OpenSearch, as I think will be sufficient in the future. As I tested , it worked well on my own server (treated as knn_vector)by using qwen3-embedding:8b as the embedding model: <img width="1338" height="790" alt="image" src="https://github.com/user-attachments/assets/a9b2d284-fcf6-4cea-859a-6aadccf36ace" /> ### Type of change - [x] New Feature (non-breaking change which adds functionality) By the way, I will still focus on the stuff about Elasticsearch/Opensearch as search engines and vector databases. Co-authored-by: 张雨豪 <[email protected]>
1 of 4 tasks
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
fix issues:#10402
As the newly distributed embedding models support vector dimensions max to 4096, while current OpenSearch's max dimension support is 1536.
As I tested, the 4096-dimensions vector will be treated as a float type which is unacceptable in OpenSearch.
Besides, OpenSearch supports max to 16000 dimensions by defalut with the vector engine(Faiss). According to: https://docs.opensearch.org/2.19/field-types/supported-field-types/knn-methods-engines/
I added max to 10240 dimensions support for OpenSearch, as I think will be sufficient in the future.
As I tested , it worked well on my own server (treated as knn_vector)by using qwen3-embedding:8b as the embedding model:

Type of change
By the way, I will still focus on the stuff about Elasticsearch/Opensearch as search engines and vector databases.