Skip to content

feat: add msearch helper command#127

Merged
JoshMock merged 2 commits into
mainfrom
helpers/msearch
Apr 14, 2026
Merged

feat: add msearch helper command#127
JoshMock merged 2 commits into
mainfrom
helpers/msearch

Conversation

@flobernd
Copy link
Copy Markdown
Member

Summary

  • Add elastic es helpers msearch command for batching multiple search requests via _msearch
  • Accepts JSON array of {header?, body} objects from --input-file or stdin
  • Configurable --batch-size (default 5) and --concurrency (default 5)
  • Applies default --index to items missing a header index
  • Collects all responses into a single combined result array

Depends on #118

Base automatically changed from helpers/foundation to main April 13, 2026 16:30
Copy link
Copy Markdown
Member

@JoshMock JoshMock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great. thanks for all these helpers!

flobernd and others added 2 commits April 14, 2026 13:11
Add `elastic es helpers msearch` for batching multiple search requests
via the _msearch API with configurable batch size and concurrency.

Accepts a JSON array of {header?, body} objects from --input-file or
stdin. Applies default --index to items without a header index. Collects
all responses into a single combined result array.
@JoshMock JoshMock enabled auto-merge (squash) April 14, 2026 17:33
@JoshMock JoshMock merged commit 59e7691 into main Apr 14, 2026
17 checks passed
@JoshMock JoshMock deleted the helpers/msearch branch April 14, 2026 17:35
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.

2 participants