aquasecurity / aquasecurity/esquery

Only return certain fields

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
317
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Hello,

I was wondering if you could add functionality to only return certain fields?
I'm loading in thousands of messages and it would save memory to only return the body and header when a user clicks a message.

References: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html

Kind regards,
Marten Mooij

Contributor guide

Open the contributing guide

Research direction

Start by tracing how esquery builds Elasticsearch search requests and compare its current output with the referenced Elasticsearch Search fields documentation. Clarify the API for selecting fields such as the message body and header, then add coverage to the project's existing query tests and verify the generated request.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.