Skip to content

Add FTS5 hybrid search (keyword + semantic) #3

@jonyoder

Description

@jonyoder

The sqlite-vec database already uses SQLite. Adding an FTS5 table alongside the vector table would enable hybrid search — keyword matching for exact function/type names combined with semantic vector search for conceptual queries.

The code_items metadata table is already there; just need to create an FTS5 virtual table indexing the same data.

This would improve results for queries like exact function names (where keyword match is better) while keeping semantic search for conceptual queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions