if (null != top) {
// we have a Query and a valid direction
if (q instanceof FunctionQuery) {
lst.add(((FunctionQuery)q).getValueSource().getSortField(top));
} else {
lst.add((new QueryValueSource(q, 0.0f)).getSortField(top));
}
continue;
}
} catch (ParseException e) {
// hang onto this in case the string isn't a full field name either