Skip to content

fix: hybridSearch at INIT_LEVELS Level 1 depends on Level 2 vectorBackend #29

@sparkling

Description

@sparkling

Bug

hybridSearch is initialized at Level 1 in INIT_LEVELS. Its factory calls this.get('vectorBackend'), but vectorBackend is not initialized until Level 2. Result: hybridSearch always receives null for its vector backend, silently falling back to degraded behavior.

Impact

HybridSearchController never gets a real vector backend during normal startup. BM25+HNSW fusion search is non-functional.

Fix

Move hybridSearch from Level 1 to Level 3 (after vectorBackend completes at Level 2). Single-line change in INIT_LEVELS.

Note: This fix is identified but not yet applied — tracked for next implementation pass.

ADR Reference

ADR-0076 Track B, identified by controller architect and PR strategist

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