Skip to content

Feature Request: Support date-based filtering in search() #294

Description

@dkhokhlov

GitHub Issue Draft

Summary

Currently, search filtering in Indexer.search() and Indexer.findSimilar() supports fileType, directory, chunkType, contextLines, filterByBranch, and metadataOnly , but there is no way to filter results by file modification date or index date.

As predicate, not rerank.

Motivation

Users may want to restrict search/find_similar results to recently modified files (e.g. "only show code changed in the last week") to focus on active areas of a codebase.

Additional Context

Indexing already tracks per-file hashes (fileHashCache) for incremental re-indexing, but this is used only for change detection, not exposed as a queryable timestamp — new tracking would likely be needed to support this feature.

TZ: assumed the same between server and client. Provide override option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions