public void buildFieldConfig(FieldConfig fieldConfig) {Map<String, Float> fieldBoostMap = this.config.get(ConfigurationKeys.FIELD_BOOST_MAP);if (fieldBoostMap != null) {Float boost = fieldBoostMap.get(fieldConfig.getField());if (boost != null) {fieldConfig.set(ConfigurationKeys.BOOST, boost);}}}

public void buildFieldConfig ( FieldConfig fieldConfig ) { Map < String , Float > fieldBoostMap = this . config . get ( ConfigurationKeys . FIELD_BOOST_MAP ) ; if ( fieldBoostMap != null ) { Float boost = fieldBoostMap . get ( fieldConfig . getField ( ) ) ; if ( boost != null ) { fieldConfig . set ( ConfigurationKeys . BOOST , boost ) ; } } }
public virtual void BuildFieldConfig(FieldConfig fieldConfig){IDictionary<string, float?> fieldBoostMap = this.config.Get(ConfigurationKeys.FIELD_BOOST_MAP);if (fieldBoostMap != null){float? boost;if (fieldBoostMap.TryGetValue(fieldConfig.Field, out boost) && boost != null){fieldConfig.Set(ConfigurationKeys.BOOST, boost);}}}
