Repository navigation
Commit ba80882
committed
Correct why a script over a flat_object is refused
The comment claimed the field type does not support Painless for retrieving
subfield values. That is a limitation of doc-value access; this engine's
script reads _source, and it does retrieve flat_object leaves correctly --
a sort over one returns the right order. The reason to refuse is the cost
of that read, not an inability, and the types above are read from _source
on purpose, so the comment now says which of the two this is.
Signed-off-by: Jialiang Liang <jiallian@amazon.com>1 parent 99e5316 commit ba80882
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments