package owltools.yaml.golrconfig;

import java.util.ArrayList;

public class GOlrConfig {

	public String id;
	public String description;
	public String display_name;
	public String document_category;
	public int weight;
	//public String searchable_extension;
	public String boost_weights;
	public String filter_weights;
	public String result_weights;

//	public ArrayList<GOlrFixedField> fixed;
//	public ArrayList<GOlrDynamicField> dynamic;
	public ArrayList<GOlrField> fields;
	
	// Define the defaults for optional fields.
	public GOlrConfig() {
		//searchable_extension = "_searchable";
		weight = 0;
		boost_weights = "";
		filter_weights = "";
		result_weights = "";
	}
}


package owltools.yaml.golrconfig;

import java.util.ArrayList;

public class GOlrConfig {

	public String id;
	public Boolean schema_generating;
	public String description;
	public String display_name;
	public String document_category;
	public int weight;
	//public String searchable_extension;
	public String boost_weights;
	public String filter_weights;
	public String result_weights;

//	public ArrayList<GOlrFixedField> fixed;
//	public ArrayList<GOlrDynamicField> dynamic;
	public ArrayList<GOlrField> fields;
	
	// Define the defaults for optional fields.
	public GOlrConfig() {
		//searchable_extension = "_searchable";
		weight = 0;
		boost_weights = "";
		filter_weights = "";
		result_weights = "";
	}
}

add new field to schema