qp.setLowercaseExpandedTerms(getBoolean(ckLoExp, "selected"));
qp.setDateResolution(resolution);
qp.setDefaultOperator(op);
if (getBoolean(ckXmlParser, "selected")) {
CoreParser cp = createParser(defField,analyzer);
Query q = cp.parse(new ByteArrayInputStream(queryString.getBytes("UTF-8")));
return q;
} else {
return qp.parse(queryString);
}
}