for (BooleanClause booleanClause : bq) {
newBq.add(fixSuperQuery(booleanClause.getQuery(), name, fieldLessFieldName), booleanClause.getOccur());
}
return newBq;
} else if (query instanceof SuperQuery) {
SuperQuery sq = (SuperQuery) query;
return setFieldIfNeeded(sq.getQuery(), name, fieldLessFieldName);
} else {
return setFieldIfNeeded(query, name, fieldLessFieldName);
}
}