elasticsearch/modules/lang-expression
Alan Woodward c720cdbbbf
Replace SourceLookup with SourceProvider interface (#91540)
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.
2023-01-12 16:17:46 +00:00
..
licenses Add verification metadata for dependencies (#88814) 2022-08-04 09:51:16 +02:00
src Replace SourceLookup with SourceProvider interface (#91540) 2023-01-12 16:17:46 +00:00
build.gradle Add JUnit rule based integration test cluster orchestration framework (#92379) 2022-12-21 15:33:46 -08:00