mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
SourceLookup mixes up several concerns - lazy loading, map access to scripts, different access providers - and duplicates logic (such as that choosing how to apply filtering) that is better handled directly in the Source interface. This commit removes SourceLookup entirely and replaces it with a new SourceProvider interface, with a simple stored fields reader implementation. SearchLookup implements this interface directly, and the fetch phase uses a custom implementation to provide its separately loaded source to fetch-time scripts. |
||
---|---|---|
.. | ||
licenses | ||
src | ||
build.gradle |