return parser.parse(queryText);
Query query = parser.parse(queryText); if (query instanceof TermQuery) { TermQuery termQuery = (TermQuery) query; return new PrefixQuery(termQuery.getTerm()); } return query;
    private Query parseUserQuery(String queryText) throws ParseException {        QueryParser parser = new QueryParser(Indexer.DEFAULT_FIELD, m_analyzer);        return parser.parse(queryText);    }