public Search(Statement stmt, String query, int filter) {
		this.stmt = stmt;
		if (filter == USERS_ONLY) {
			updateUserResults(query);
		} else if (filter == QUIZZES_ONLY) {
			updateQuizResults(query);
		} else if (filter == BOTH) {
			updateUserResults(query);
			updateQuizResults(query);
		}
	}