Skip to content

Commit ffba104

Browse files
committed
Fixing whitelist
1 parent 080b1a6 commit ffba104

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

modules/ingest-common/src/yamlRestTest/resources/rest-api-spec/test/ingest/210_conditional_processor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ teardown:
107107
index: test
108108
id: "1"
109109
- match: { _source.bytes_source_field: "1kb" }
110-
- match: { _source.conditional.field: "bar" }
111110
- match: { _source.bytes_target_field: 1024 }
112111

112+

modules/lang-painless/src/main/resources/org/elasticsearch/painless/org.elasticsearch.script.processor_conditional.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,12 @@ class org.elasticsearch.script.field.WriteField {
3535
NestedDocument doc(int)
3636
Iterable docs()
3737
}
38+
39+
class org.elasticsearch.script.field.NestedDocument {
40+
WriteField field(String)
41+
Stream fields(String)
42+
boolean isEmpty()
43+
int size()
44+
boolean exists()
45+
void remove()
46+
}

0 commit comments

Comments
 (0)