ABoostMethod.Type methodType = null;
String methodString = mdlConfig.getString("boost.method");
if ("doc".equals(methodString)) methodType = ABoostMethod.Type.Doc;
if ("field".equals(methodString)) methodType = ABoostMethod.Type.Field;
if ("keyword".equals(methodString)) methodType = ABoostMethod.Type.Keyword;
ABoostMethod method = ABoostMethod.getBoostMethod(mdlConfig,methodType);
ABoostValue.Type valueType = null;
valueType = ABoostValue.Type.None;
String valueString = mdlConfig.getString("boost.value");
if ("constant".equals(valueString)) valueType = ABoostValue.Type.Constant;