21232124212521262127212821292130213121322133
int nQueryElements = qt.length; if (null == logic) { // No logic specified, just and them all together for (int i = 0; i < nQueryElements; ++i) { if (null != qt[i]) { bq = bq.must(qt[i]); if (0 != i) { query.append(" and "); } query.append(qtRead[i]); }