Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit multiple fields from the same runtime field script #73252

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
update assertion
javanna committed Jul 7, 2021
commit 0c8edbdec2367484f32a7a87a5c3c308ea170bf4
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ public LeafRuntimeField(String name, MappedFieldType mappedFieldType, List<Field
this.name = name;
this.mappedFieldType = mappedFieldType;
this.parameters = parameters;
assert name.equals(mappedFieldType.name());
assert mappedFieldType.name().startsWith(name);
}

@Override