try {
ScoreFunction function = ScoreFormulaParser.parseFormula(functionIndex, definition);
scorer.putScoringFunction(functionIndex, function);
definitions.put(functionIndex, definition);
} catch (ParserException e) {
throw new IndextankException("Syntax Error");
}
}