import org.elasticsearch.script.search.SearchScript;
import java.util.List;
public class ScriptFieldsContext {
public static class ScriptField {
private final String name;
<BUG>private final SearchScript script;
public ScriptField(String name, SearchScript script) {
</BUG>
this.name = name;
<BUG>this.script = script;
}</BUG>
public String name() {

import org.elasticsearch.script.search.SearchScript;
import java.util.List;
public class ScriptFieldsContext {
public static class ScriptField {
private final String name;
private final SearchScript script;
private final boolean ignoreException;
public ScriptField(String name, SearchScript script, boolean ignoreException) {
this.name = name;
this.script = script;
this.ignoreException = ignoreException;
}
public String name() {
