quickwit-oss / quickwit-oss/quickwit
ES _search response should return only `_source` by default
Open
@PSeitz is already working on this.
Since Feb 14, 2024.
bug
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
In the ES response, we return hits such as:
{
"_index": "generated-logs",
"_source": {
// all fields there
},
"fields": {
// again all fields there
}
So, we end up returning twice the same data.
ES default behavior is to return only the _source. You can ask for fields (docvalue_fields, script_fields, stored_fields) in the request.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.