Skip to content

docs: document self-hosted v0.0.5 model mixing bug and v0.0.7 resolution (#1450) - #1606

Merged
Dhravya merged 1 commit into
supermemoryai:mainfrom
Adityakk9031:fix/issue-1450-japanese-v4-search-bug
Aug 27, 2026
Merged

docs: document self-hosted v0.0.5 model mixing bug and v0.0.7 resolution (#1450)#1606
Dhravya merged 1 commit into
supermemoryai:mainfrom
Adityakk9031:fix/issue-1450-japanese-v4-search-bug

Conversation

@Adityakk9031

Copy link
Copy Markdown
Contributor

Resolves #1450.

Description

Documents the self-hosted v0.0.5 embedding model mixing bug in the embeddings documentation, explaining the root cause of why Japanese memories query and profile retrieval returned empty results, and notes that upgrading to v0.0.7 resolves the issue by enforcing a locked embedding plan.

Root Cause

In version v0.0.5, the embedding configuration was not locked. The server could mix different embedding models between document write paths (e.g. OpenAI text-embedding-3-small with 1536 dimensions) and memory query paths (e.g. local English default bge-base-en-v1.5), causing vector search cosine similarities to drop to near-zero.

  • English Memories: Succeeded because full-text search (FTS) tokenized words based on spaces, allowing the hybrid search engine to fall back on lexical match.
  • Japanese Memories: Failed completely because Japanese lacks space-separated words, causing SQLite FTS5 simple tokenizer to treat sentences as single tokens. The queries returned {"results":[],"total":0} because both the vector path (due to model mixing) and the lexical path (due to tokenization mismatch) failed.

Resolution

This was resolved in v0.0.7 by locking the embedding plan uniformly across all write and query paths.

@Dhravya
Dhravya merged commit d436792 into supermemoryai:main Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self-hosted v0.0.5: /v4/search and /v4/profile return no results for Japanese memories with OpenAI embeddings

2 participants