Skip to content

feat(search): hybrid search improvements — freshness boost, source weighting #199

Closed

Description

@hurttlocker

Summary

As connector data increases the corpus, search quality needs tuning.

Tasks

  • Freshness boost: recent memories rank higher (configurable decay curve)
  • Source weighting: manual imports > connector imports (configurable)
  • Connector-scoped search: cortex search 'query' --source github
  • Project-scoped search: cortex search 'query' --project my-project
  • Search result metadata: show source, connector, import date alongside content

Context

Current hybrid search (BM25 + semantic + confidence decay) works well at 28K facts. Connectors will push toward 100K+.

Activity

  1. added
    enhancement
    v0.7.0
    on Feb 24, 2026
  2. hurttlocker commented on Feb 24, 2026

    @hurttlocker
    OwnerAuthor

    Shipped: source filter (--source), source weighting (manual 1.05x / connector 0.97x), import date in CLI output. 6 new tests.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementv0.7.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions