public class BestDocumentsForGivenTopic {
private static final Logger logger = Logger.getLogger(BestDocumentsForGivenTopic.class);
private final SelectMap documentMap;
private PrintWriter outWriter;
private Database database;
<BUG>public BestDocumentsForGivenTopic(String topicId, Integer limit, Integer offset, Database db, PrintWriter out) {
</BUG>
documentMap = new SelectMap();
documentMap.select.add("DOCUMENT.DOCUMENT_ID");
documentMap.select.add("DOCUMENT_TOPIC.PR_DOCUMENT_GIVEN_TOPIC");

public class BestDocumentsForGivenTopic {
private static final Logger logger = Logger.getLogger(BestDocumentsForGivenTopic.class);
private final SelectMap documentMap;
private PrintWriter outWriter;
private Database database;
public BestDocumentsForGivenTopic(int topicId, int limit, int offset, Database db, PrintWriter out) {
documentMap = new SelectMap();
documentMap.select.add("DOCUMENT.DOCUMENT_ID");
documentMap.select.add("DOCUMENT_TOPIC.PR_DOCUMENT_GIVEN_TOPIC");
