* Read the configured field boosts from config file
* @param boostsFieldName different core had different boosts, and they are configured under different field name
* @return the boosts as a map with the Solr field name as the key and the boost as the value
*/
public static Map<String, Float> getFieldBoostsFromConfig(String boostsFieldName) {
ConfigProperties searchProperties = ConfigFactory.getInstance()
.getConfigProperties(ConfigFactory.SEARCH_CONFIG_PATH);
String boostsStr = searchProperties.getProperty(boostsFieldName);
return parseFieldBoosts(boostsStr);
}