public OptimizationReport optimize(RankingExpression expression, AbstractArrayContext arrayContext) {
        return optimize(expression, (ContextIndex)arrayContext);
    }
Gets an optimizer instance used by this by class name, or null if the optimizer is not known
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/ExpressionOptimizer.java