Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 117 additions & 53 deletions core/src/main/scala/app/softnetwork/elastic/client/SearchApi.scala

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ object SubqueryResolver {
resolve(
single,
s => api.search(s)(EntityContext), // an absent key stays ABSENT — never null-filled
api.scopeCorrelation(single, _),
// R-169 -- the scope check reads the mappings in the mode of the call: `describe` looks a
// remembered miss up again, `run` skips it (`SearchApi.lookupSchema`)
inner => api.scopeCorrelation(single, inner, describing = !executes),
api.innerColumnType,
executes
)
Expand Down
Loading
Loading