Skip to content

odebase-memory-mcp search_code couldn't find it (semantic, not literal; returned raw_match_count:0). #1155

Description

@sreehari83

Version

codebase-memory-mcp 0.9.0

Platform

Linux (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

standard

What happened, and what did you expect?

codebase-memory-mcp cli search_code --project DEV_COMMON_BRANCH --pattern "nsa_log_community: unauthorized SNMP community"
level=info msg=mem.init budget_mb=192775 total_ram_mb=385550
level=warn msg=search.slow elapsed_ms=6092
{"results":[],"raw_matches":[],"directories":{},"total_grep_matches":0,"total_results":0,"raw_match_count":0,"elapsed_ms":6092,"warnings":["search took 6092ms (>5s); narrow file_pattern/path_filter or use a more specific pattern"]}

codebase-memory-mcp cli search_code --project DEV_COMMON_BRANCH --pattern ":unauthorized SNMP community from "
level=info msg=mem.init budget_mb=192775 total_ram_mb=385550
level=warn msg=search.slow elapsed_ms=6072
{"results":[],"raw_matches":[],"directories":{},"total_grep_matches":0,"total_results":0,"raw_match_count":0,"elapsed_ms":6072,"warnings":["search took 6072ms (>5s); narrow file_pattern/path_filter or use a more specific pattern"]}

again exact matching string giving result ..if query has any extra word also results are not coming..
semantic search should be enabled.

following one given result...
codebase-memory-mcp cli search_code --project DEV_COMMON_BRANCH --pattern "unauthorized SNMP community"
level=info msg=mem.init budget_mb=192775 total_ram_mb=385550

Reproduction

codebase-memory-mcp cli index_repository --repo-path /data/src/repo --mode fast --name branch --persistence true

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

No response

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationpriority/backlogValuable contribution, lower scheduling urgency; review when maintainer capacity opens.questionFurther information is requestedux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions