+ "t1.HIERARCHICAL_TOPIC$END<=t2.HIERARCHICAL_TOPIC$END AND "
+ "t2.TOPIC_ID=" + topicId;
where += ")";
documentMap.where.add(where);
} else {
<BUG>documentMap.where.add("DOCUMENT_TERM_TOPIC.TOPIC_ID IN (" + topicId + ")");
</BUG>
}
<BUG>documentMap.where.add("DOCUMENT_TERM_TOPIC.TERM IN ('" + term + "')");
</BUG>
documentMap.groupBy.add("DOCUMENT_ID");

+ "t1.HIERARCHICAL_TOPIC$END<=t2.HIERARCHICAL_TOPIC$END AND "
+ "t2.TOPIC_ID=" + topicId;
where += ")";
documentMap.where.add(where);
} else {
documentMap.where.add("DOCUMENT_TERM_TOPIC.TOPIC_ID=" + topicId + "");
}
documentMap.where.add("DOCUMENT_TERM_TOPIC.TERM like '" + term + "'");
documentMap.groupBy.add("DOCUMENT_ID");
