Skip to content

Semantic search fails: No embeddings available despite enabled status (v0.9.13) #88

@madeinoz67

Description

@madeinoz67

Description

Semantic search fails with "No embeddings available for search" error despite index containing symbols and semantic search being enabled.

Environment

  • codanna version: 0.9.13 (latest)
  • OS: macOS (Darwin 25.0.0)
  • Project: TypeScript codebase

Reproduction

  1. Index a codebase:
codanna index src/
  1. Attempt semantic search:
codanna mcp semantic_search_with_context query:"entity registry file path creation entities.json" limit:5

Error Output

Semantic search failed: Semantic search error: No embeddings available for search

Index Status

Running codanna mcp get_index_info shows:

Index contains 1052 symbols across 31 files.

Breakdown:
  - Symbols: 1052
  - Relationships: 733

Symbol Kinds:
  - Classs: 15
  - Constants: 585
  - Enums: 1
  - Fields: 57
  - Functions: 33
  - Interfaces: 73
  - Methods: 234
  - TypeAliass: 11
  - Variables: 43

Semantic Search:
  - Status: Enabled
  - Model: AllMiniLML6V2
  - Embeddings: 0          <--- THIS IS THE PROBLEM
  - Dimensions: 384
  - Created: 10 hours ago
  - Updated: 10 hours ago

Expected Behavior

Semantic search should work when index contains symbols and semantic search is enabled.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions