boolean hasCollections = false;
boolean useCollections = colDao.getUseCollections();
String sColMemberTable = colDao.getCollectionMemberTableName();
String sqlCol = "SELECT COLUUID FROM "+sColMemberTable+" WHERE DOCUUID=?";
if (useCollections) {
collections = colDao.queryCollections();
hasCollections = (collections.size() > 0);
}
// initialize index related variables
boolean bCheckIndex = (info.numOriginallyIndexed > 0);