}
}
if (log.isDebugEnabled()) {
log.debug("Setting scan option: " + FieldIndexQueryReWriter.INDEXED_TERMS_LIST + " to " + buf.toString());
}
FieldIndexQueryReWriter rewriter = new FieldIndexQueryReWriter();
String q = "";
try {
q = queryString;
q = rewriter.applyCaseSensitivity(q, true, false);// Set upper/lower case for fieldname/fieldvalue
Map<String,String> opts = new HashMap<String,String>();
opts.put(FieldIndexQueryReWriter.INDEXED_TERMS_LIST, buf.toString());
q = rewriter.removeNonIndexedTermsAndInvalidRanges(q, opts);
q = rewriter.applyNormalizedTerms(q, opts);
if (log.isDebugEnabled()) {
log.debug("runServerQuery, FieldIndex Query: " + q);
}
} catch (org.apache.commons.jexl2.parser.ParseException ex) {
log.error("Could not parse query, Jexl ParseException: " + ex);