Skip to content

Add search batch and grouped count modes - #3583

Merged
Widthdom merged 9 commits into
mainfrom
fix-issue3481-3388
Jun 12, 2026
Merged

Add search batch and grouped count modes#3583
Widthdom merged 9 commits into
mainfrom
fix-issue3481-3388

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add search --named-query <name>=<query> support with grouped compact JSON/human output for repeated named searches.
  • Add search --group-by file|symbol --count support for grouped count summaries.
  • Tighten validation around search submodes so unsupported flag combinations fail explicitly.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~Issue3481|FullyQualifiedName~Issue3388|FullyQualifiedName~CliFlagSchemaTests|FullyQualifiedName~ConsoleUi"
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet build
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index . --commits HEAD --json
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Codex adversarial review: No blocking/actionable issues found.

Documentation / Changelog

  • Updated USER_GUIDE.md with named query and grouped count examples.
  • Added changelog fragments:
    • changelog.d/unreleased/3481.added.md
    • changelog.d/unreleased/3388.added.md

Scope Notes

Follow-up Candidates

  • None.

Fixes #3481
Fixes #3388

@Widthdom
Widthdom merged commit 8150a46 into main Jun 12, 2026
10 checks passed
@Widthdom
Widthdom deleted the fix-issue3481-3388 branch June 14, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search should support named ad hoc batch queries with compact snippets search should support grouping and counts by file or symbol

1 participant