public static StatementExpression fromString(String expression,
                                                 Linguistics linguistics,
                                                 Map<String, Chunker> chunkers,
                                                 Map<String, Embedder> embedders,
                                                 Map<String, FieldGenerator> generators) throws ParseException {
        return newInstance(new ScriptParserContext(linguistics, chunkers, embedders, generators).setInputStream(new IndexingInput(expression)));
    }
Creates an expression with simple lingustics for testing
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/StatementExpression.java