Skip to content

#415 Store project_id in usearch metadata #418

Closed

Description

@ajianaz

Problem

Vector search over-fetches, then filters by loading ALL project symbol IDs into HashSet.

Location

src/index/brain.rs:198-208

Solution

Store project_id in usearch index, filter during KNN search.

Expected Impact

Eliminate large DB query per search. Save 10-20ms for large projects.

Activity

  1. ajianaz commented on Jul 28, 2026

    @ajianaz
    CollaboratorAuthor

    Meta-tracker. Sub-issue #415 is straightforward but low priority — project_id stored in vector cache already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions