private static QueryTerm[] splitQuery(String queryString) {
        String[] queryTerms=queryString.split(" ");
        QueryTerm[] query=new QueryTerm[queryTerms.length];
        for (int i=0; i<query.length; i++)
            query[i]=new QueryTerm(queryTerms[i]);
        return query;
    }
Creates a query with a list of query terms. The query terms are not, and must not be subsequently modified
searchlib/src/main/java/com/yahoo/searchlib/ranking/features/fieldmatch/Query.java