dfd7f226f0
The `SourceLookup` class provides access to the _source for a particular document, specified through `SourceLookup#setSegmentAndDocument`. Previously the search context contained a single `SourceLookup` that was shared between different fetch subphases. It was hard to reason about its state: is `SourceLookup` set to the expected document? Is the _source already loaded and available? Instead of using a global source lookup, the fetch hit context now provides access to a lookup that is set to load from the hit document. This refactor closes #31000, since the same `SourceLookup` is no longer shared between the 'fetch _source phase' and script execution. |
||
---|---|---|
.. | ||
aggs-matrix-stats | ||
analysis-common | ||
geo | ||
ingest-common | ||
ingest-geoip | ||
ingest-user-agent | ||
kibana | ||
lang-expression | ||
lang-mustache | ||
lang-painless | ||
mapper-extras | ||
parent-join | ||
percolator | ||
rank-eval | ||
reindex | ||
repository-url | ||
systemd | ||
tasks | ||
transport-netty4 | ||
build.gradle |